专利摘要:
METHOD, DEVICE AND COMPUTER PROGRAM PRODUCT FOR MASTER ANCHOR SELECTION Modalities of the present invention reveal a method and device for master anchor selection, which can maintain time synchronization between devices in a NAN cluster. The method includes: receiving, through a device, a NAN Signaling frame, where the NAN Signaling frame carries first AM information and first TSF information, and the first AM information includes: a first AMR, a first HC , and a first AMBTT; if the NAN Signaling frame is used for AM selection, when the first AMR is less than a second AMR, and a device MR is greater than the first AMR, switch, by the device, a device assignment to AM, where second AM information recorded on the device includes: the second AMR, a second HC, and a second AMBTT; and if the NAN Signal frame is used for AM selection, when the first AMR is less than the second AMR, and the MR of the device is less than the first AMR, update by the device according to the Signaling frame of NAN, the second information from (...).
公开号:BR112016012541B1
申请号:R112016012541-0
申请日:2014-12-02
公开日:2020-11-03
发明作者:Zhenguo Du;Yunsong Yang;Ping Fang
申请人:Huawei Device (Shenzhen) Co., Ltd.;
IPC主号:
专利说明:

TECHNICAL FIELD
[0001] The present invention relates to the field of communications technologies, and in particular, to a method and device for master anchor selection. BACKGROUND
[0002] With the coming of an era of mobile Internet, a conventional pattern in the Internet industry becomes social, localized and mobile. Particularly, with the popularization of a mobile device equipped with a Wireless Fidelity interface (Fidelity-Wireless, Wi-Fi), the social application of a device in a neighbor identification network (Neighbor Identification Network, NAN) is becoming the busy area in the industry.
[0003] A NAN network including multiple NAN devices is referred to as a grouping (Grouping) of NAN, and devices in the same grouping of NAN have the same grouping identifier. Each device has its own attributes, including: an assignment (Assignment) and a state (State). An assignment includes two types: master (Master) and non-master (not Master), and a state includes two types: sync (sync) and non-sync (non-sync). A device in the sinc state is responsible for maintaining cluster synchronization. A master must be in the sinc state, but a non-master can be in a sinc or non-sinc state. Each device additionally includes a master category (Master Category, MR), a master with a larger RM in the NAN cluster becomes a master anchor (Master Anchor, AM), and all other devices are kept in sync with time with AM , thereby ensuring synchronization of the entire NAN pool.
[0004] A typical application scenario in the NAN cluster is that devices perform mutual service discovery before being associated. To perform service discovery between devices, a device in the NAN cluster needs to work on a NAN social (social) channel for a specific time period and maintain an awake (awake) state, for example, a social channel on an NAN channel. frequency 2.4 GHz is a channel 6. In some scenarios, the NAN is required to run in a background for a long time, and therefore a device on the NAN needs to perform energy saving control. Therefore, the device wakes up only when the discovery window (Discovery Window, DW) arrives, and performs service discovery and cluster synchronization on a social channel; however, outside of a DW, all devices except the master may be in a sleep state.
[0005] Since crystal oscillators within different NAN devices have different frequencies, two devices often need to be synchronized in order to ensure that there is not a large deviation between the system clocks of the two devices. To maintain NAN pool synchronization, each master sync and each non-master sync sends a sync signaling frame (Sync Signaling) in a DW, where the sync signaling frame includes AM information and synchronization function information. time (Time Synchronization Function, TSF), and AM information includes: a master anchor category (Master Anchor Category, AMR), a hop count (Jump Count to Master Anchor, HC), and a transmission time anchor signaling time (Master Anchor Signaling Transmission Time, AMBTT). The AMR is an MR value of an AM, and each device in the NAN cluster records an AMR value.
[0006] Since a synchronization reference in the NAN grouping is AM, that is, the master with the largest MR, and the MR changes randomly with time, when an MR of a device changes, the master with the MR higher in the NAN cluster also changes. When the device RM changes, an AM with a larger RM can be selected in time on the NAN cluster, which is crucial to maintain synchronization of the NAN cluster. According to a current NAN specification outline, in a NAN cluster synchronization process, an AMR value recorded on a device becomes only greater. However, when an AM's RM becomes smaller, even if a device whose MR is an original AMR value does not exist, the original AMR value recorded on the device always exists in the NAN cluster and cannot be removed, and a value of registered HC becomes greater. According to an existing specification, when an HC in a received Sync Signaling frame exceeds a threshold, a device discards the Sync Signaling frame, that is, over time, an HC becomes larger, devices in the cluster of entire NAN discard all Sync Signaling frames received because HC exceeds the threshold. In addition, since the NAN cluster loses an AM, the entire NAN cluster is malfunctioning, and as a result, time synchronization between devices cannot be implemented. SUMMARY
[0007] The modalities of the present invention provide a method and a device for master anchor selection, which are used to maintain time synchronization between devices in a NAN cluster.
[0008] To solve the aforementioned technical problem, the following technical solutions are provided in the modalities of the present invention:
[0009] According to a first aspect, one embodiment of the present invention provides a method for master anchor selection, including: receiving, by a device, a neighbor identification network signaling, NAN signaling frame, on a NAN signaling carries first AM information and first TSF time synchronization function information, and first AM information includes: a first AMR master anchor category, a first HC hop count, and a first signal transmission time master anchor AMBTT; and the device records second AM information and second TSF information, in which the second AM information comprises: a second AMR, a second HC, and a second AMBTT; if the NAN Signaling frame is used for AM selection, when the first AMR is less than the second AMR, and a MR master category of the device is greater than the first AMR, switching the device assignment to AM ; and if the NAN Signal frame is used for AM selection, when the first AMR is less than the second AMR, and the MR of the device is less than the first AMR, update by the device according to the Signaling frame of NAN, the second AM information and the second TSF information that are registered on the device.
[0010] With reference to the first aspect, in a first possible way of implantation of the first aspect, the method additionally includes: if the NAN Signaling frame is used for AM selection, when the first AMR is less than the second AMR, and the MR of the device is equal to the first AMR, to switch, by the device, the device assignment to AM, or to update, by the device according to the NAN Signaling frame, the second AM information and the second TSF information that are registered on the device.
[0011] With reference to the first aspect or the first possible way of implantation of the first aspect, in a second way of possible implantation of the first aspect, before switching, by the device, the device assignment to AM, and the update, by the device according to the NAN Signaling table, the second AM information and the second TSF information that are registered on the device, the method additionally includes: if the first HC is less than or equal to the hop count threshold, fire, by the device, the execution of the switching step, by the device, the assignment of the device to AM, or trigger, by the device, the execution of the update step, by the device, according to the NAN Signaling table, the second information of AM and the second TSF information that is registered on the device.
[0012] With reference to the first aspect or the first or second way of possible implantation of the first aspect, in a third way of possible implantation of the first aspect, when the device is an AM, whether or not the NAN Signaling frame is used for AM selection is determined in the following ways: if the first AMR is less than the second AMR, determine, by the device, that the NAN Signaling frame is not used for AM selection; if the first AMR is greater than or equal to the second AMR, and if the first AMR is equal to a third AMR within a predefined period of time after the start of the second AMR update, determine, by the device, that the Signaling frame NAN is not used for AM selection, where the third AMR is an AMR before the second AMR on the device is updated; and if the NAN Signaling frame does not meet a first condition, determine, by the device, that the NAN Signaling frame is used for AM selection, where the first condition is as follows: the first AMR is less than the second AMR, or the first AMR is the same as the third AMR within the predefined time period.
[0013] With reference to the first aspect to the first or the second way of possible implantation of the first aspect, in a fourth way of possible implantation of the first aspect, when the device is an AM, whether or not the NAN Signaling frame is used for AM selection it is determined in the following ways: if the first AMR is less than the second AMR, determine, by the device, that the NAN Signaling frame is not used for AM selection; if the first AMR is greater than or equal to the second AMR, and if the first AMBTT is less than the second AMBTT within a predefined period of time after the start of the second AMR update, determine, by the device, that the Signaling frame NAN is not used for AM selection; and if the NAN Signaling frame does not meet a second condition, determine, by the device, that the NAN Signaling frame is used for AM selection, where the second condition is as follows: the first AMR is less than the second AMR, or the first AMBTT is less than the second AMBTT within the predefined time period.
[0014] With reference to the first aspect or the first or second way of possible implantation of the first aspect, in a fifth way of possible implantation of the first aspect, when the device is not an AM, whether or not the NAN Signaling frame is used for AM selection is determined in the following ways: if the first AMR is less than the second AMR within a predefined period of time after the start of the second AMR update, determine, by the device, that the NAN is not used for AM selection; if the first AMR is equal to a third AMR within the predefined time period, determine, by the device, that the NAN Signal frame is not used for AM selection, where the third AMR is an AMR before the second AMR on the device be updated; and if the NAN Signaling frame does not meet a third condition, determine, by the device, that the NAN Signaling frame is used for AM selection, where the third condition is as follows: the first AMR is less than the second AMR within the predefined time period, or the first AMR is equal to the third AMR within the predefined time period.
[0015] With reference to the first aspect or the first or second way of possible implantation of the first aspect, in a sixth way of possible implantation of the first aspect, when the device is not an AM, whether or not the NAN Signaling frame is used for AM selection is determined in the following ways: if the first AMR is less than the second AMR within a predefined period of time after the start of the second AMR update, determine, by the device, that the NAN is not used for AM selection; if the first AMBTT is less than the second AMBTT within the predefined time period, determine, by the device, that the NAN Signaling frame is not used for AM selection; and if the NAN signaling frame does not meet a fourth condition, determine, by the device, that the NAN signaling frame is used for AM selection, where the fourth condition is as follows: the first AMR is less than the second AMR within the predefined time period, or the first AMBTT is less than the second AMBTT within the predefined time period.
[0016] With reference to the first aspect or the first, the second, the third, the fourth, the fifth, or the sixth way of possible implantation of the first aspect, in a seventh way of possible implantation of the first aspect, the method additionally includes : if the NAN Signaling frame is used for AM selection, when the first AMR is greater than the second AMR, update, by the device in accordance with the NAN Signaling frame, the second AM information and the second information of TSF that are registered on the device.
[0017] With reference to the first aspect or the first, the second, the third, the fourth, the fifth, the sixth or the seventh way of possible implantation of the first aspect, in an eighth way of possible implantation of the first aspect, the update , by the device in accordance with the NAN Signaling frame, the second AM information and the second TSF information that are registered on the device includes: updating, by the device, the second AMR value to the first AMR value; update, by the device, the value of the second HC to the value of the first HC plus 1; if the NAN Signaling frame is sent by the AM, update, by the device, the second AMBTT value to a value of a predefined byte / predefined bytes of the first TSF information; or if the NAN Signaling frame is not sent by the AM, update, by the device, the second AMBTT value for the first AMBTT; and updating, by the device, a value of the second TSF information to a value of the first TSF information.
[0018] With reference to the first aspect or the first, the second, the third, the fourth, the fifth, the sixth, the seventh or the eighth possible implantation of the first aspect, in a ninth possible implantation of the first aspect , the method additionally includes: if the NAN Signaling frame is used for AM selection, when the first AMR is equal to the second AMR, if the first AMBTT is greater than the second AMBTT, or the first AMBTT is equal to the second AMBTT and the first HC is less than the second HC minus 1, update the second TSF information and some information or all the information of the second AM information that is registered on the device, by the device according to the NAN Signaling table.
[0019] With reference to the ninth way of possible implantation of the first aspect, in a tenth way of possible implantation of the first aspect, if the NAN Signaling frame is used for AM selection, when the first AMR is equal to the second AMR, and the first AMBTT is larger than the second AMBTT, the update, by the device according to the NAN Signaling frame, of the second TSF information and some information or all the information of the second AM information that is registered on the device includes: updating, by device, the value of the second HC to the value of the first HC plus 1; if the NAN signaling frame is sent by AM, update, by the device, the second AMBTT value to the value of the predefined byte / predefined bytes of the first TSF information; or if the NAN Signaling frame is not sent by the AM, update, by the device, the second AMBTT value for the first AMBTT; and updating, by the device, the value of the second TSF information to the value of the first TSF information; and if the NAN Signaling frame is used for AM selection, when the first AMR is equal to the second AMR, and when the first AMBTT is equal to the second AMBTT, and the first HC is less than the second HC minus 1, the updating, by the device according to the NAN Signaling table, of the second TSF information and some information or all the information of the second AM information that are registered in the device includes: updating, by the device, the value of the second HC for the value of the first HC plus 1; and updating, by the device, the value of the second TSF information to the value of the first TSF information.
[0020] With reference to the first aspect or the first, the second, the third, the fourth, the fifth, the sixth, the seventh or the eighth possible way of implantation of the first aspect, in an eleventh way of possible implantation of the first aspect, the method additionally includes at least one of the following steps: if the NAN Signaling frame is used for AM selection, when the first AMR is equal to the second AMR, and the first HC is greater than or equal to the second HC , ignore, by the device, the first AM information carried in the NAN Signaling frame; if the NAN Signal frame is used for AM selection, and the NAN Signal frame is not sent by the AM, when the first AMR is equal to the second AMR, the first HC is equal to the second HC minus 1 and the first AMBTT is greater than the second AMBTT, updating, by the device, the second AMBTT value for the first AMBTT, and updating, by the device, the value of the second TSF information to the value of the first TSF information; if the NAN Signal frame is used for AM selection, and the NAN Signal frame is sent by the AM, when the first AMR is equal to the second AMR, the first HC is equal to the second HC minus 1 and the value of default byte / predefined bytes of the first TSF information is greater than the second AMBTT, update the second AMBTT value for the first AMBTT by the device, and update the value of the second TSF information by the device for the value of the first TSF information; and if the NAN Signal frame is used for AM selection, when the first AMR is equal to the second AMR, and the first HC is less than the second HC minus 1, if the NAN Signal frame is sent by the AM, update, by the device, the second AMBTT value to the default byte / predefined bytes value of the first TSF information; or if the NAN Signaling frame is not sent by the AM, update the second AMBTT value for the first AMBTT by the device, update the value of the second TSF information by the device to the value of the first TSF information, and update, by the device, the value of the second HC to the value of the first HC plus 1.
[0021] With reference to the first aspect or the first, the second, the third, the fourth, the fifth, the sixth, the seventh, the eighth, the ninth, the tenth, or the eleventh possible way of implanting the first aspect, in a twelfth way of possible implantation of the first aspect, the method additionally includes: when a difference obtained by subtracting the second AMBTT from the value of the second TSF information is greater than a predefined transmission time threshold, switching by the device , the device assignment for AM.
[0022] With reference to the first aspect or the first, the second, the third, the fourth, the fifth, the sixth, the seventh, the eighth, the ninth, the tenth, the eleventh or the twelfth way of possible implantation of the first aspect, in a thirteenth way of possible implantation of the first aspect, when the device is not an AM, and the RM of the device is updated, the method additionally includes: when an updated RM of the device is greater than the second AMR, switch device assignment to AM by device.
[0023] With reference to the first aspect or the first, the second, the third, the fourth, the fifth, the sixth, the seventh, the eighth, the ninth, the tenth, the eleventh, the twelfth or the thirteenth possible deployment mode of the first aspect, in a fourteenth possible deployment mode of the first aspect, switching the device assignment to AM by the device includes: updating, by the device, the second AMR value for the MR value of the device; update, by the device, the value of the second HC to 0; and updating, by the device, the second AMBTT value to a value of a predefined byte / predefined bytes of the second TSF information. With reference to the first aspect or the first, the second, the third, the fourth, the fifth, the sixth, the seventh, the eighth, the ninth, the tenth, the eleventh, the twelfth or the thirteenth possible deployment mode of the first aspect, in a fifteenth possible deployment mode of the first aspect, switching the device assignment to AM by the device includes: updating the second AMR value to the MR value via the device the device; update, by the device, the value of the second HC to 0; and update, by device, the second AMBTT value to 0x00000000.
[0024] With reference to the first aspect or the first, the second, the third, the fourth, the fifth, the sixth, the seventh, the eighth, the ninth, the tenth, the eleventh, the twelfth, the thirteenth, fourteenth or fifteenth possible implantation of the first aspect, in a sixteenth possible implantation of the first aspect, when the device is an AM, the method additionally includes: when the MR of the device is updated, maintain an AM assignment on the device, and update the second registered AMR to a device updated MR value via the device.
[0025] According to a second aspect, an embodiment of the present invention provides a device for master anchor selection, where the device includes: a signaling frame reception module, configured to receive a neighbor identification network signaling, NAN Signal frame, where NAN Signal frame carries first AM information and first TSF time synchronization function information, and first AM information includes: a first AMR master anchor category, a first HC hop count , and a first transmission time for AMBTT master anchor signaling; and the device records second AM information and second TSF information, in which the second AM information comprises: a second AMR, a second HC, and a second AMBTT; an assignment switch module, configured for: if the NAN Signaling frame is used for AM selection, when the first AMR is less than the second AMR, and a MR master category of the device is greater than the first AMR, switch a device assignment for AM; and an information update module, configured for: if the NAN Signaling frame is used for AM selection, when the first AMR is less than the second AMR, and the device MR is less than the first AMR, update, according to the NAN Signaling table, the second AM information and the second TSF information that are registered on the device.
[0026] With reference to the second aspect, in a first way of implementing the second aspect, the switching assignment module is additionally configured for: if the NAN Signaling frame is used for AM selection, when the first AMR is smaller whereas the second AMR, and the MR of the device is equal to the first AMR, switch the device assignment to AM; or the information update module is additionally configured for: if the NAN Signaling frame is used for AM selection, when the first AMR is less than the second AMR, and the device MR is the same as the first AMR, update, according to the NAN Signaling table, the second AM information and the second TSF information that are registered on the device.
[0027] With reference to the second aspect or the first possible way of implantation of the second aspect, in a second way of possible implantation of the second aspect, the device additionally includes: an execution trigger module, configured for: if the first HC is smaller that or equal to the hop count threshold, trigger the switch assignment module to perform the step of switching the device assignment to AM, or trigger the information update module to perform the update step, according to the chart NAN signaling, second AM information and second TSF information that are registered on the device.
[0028] With reference to the second aspect or the first or the second possible implantation of the second aspect, in a third possible implantation of the second aspect, when the device is an AM, the device additionally includes: a first determination module AM selection frame, configured to determine, in the following ways, whether or not the NAN Signal frame is used for AM selection: if the first AMR is less than the second AMR, determine that the NAN Signal frame does not be used for AM selection; if the first AMR is greater than or equal to the second AMR, and if the first AMR is equal to a third AMR within a predefined time period after the start of the second AMR update, determine that the NAN Signaling frame is not used for AM selection, where the third AMR is an AMR before the second AMR on the device is updated; and if the NAN Signaling frame does not meet a first condition, determine that the NAN Signaling frame is used for AM selection, where the first condition is as follows: the first AMR is less than the second AMR, or first AMR is equal to the third AMR within the predefined time period.
[0029] With reference to the second aspect or the first or second possible implantation of the second aspect, in a fourth possible implantation of the second aspect, when the device is an AM, the device additionally includes: a second determination module AM selection frame, configured to determine, in the following ways, whether or not the NAN Signal frame is used for AM selection: if the first AMR is less than the second AMR, determine that the NAN Signal frame does not be used for AM selection; if the first AMR is greater than or equal to the second AMR, when the second AMR on the device is updated, if the first AMBTT is less than the second AMBTT within a predefined period of time after the start of the second AMR update, determine that the NAN Signal board is not used for AM selection; and if the NAN Signaling frame does not meet a second condition, determine that the NAN Signaling frame is used for AM selection, where the first condition is as follows: the second AMR is less than the second AMR, or the first AMBTT is less than the second AMBTT within the predefined time period.
[0030] With reference to the second aspect or the first or the second way of possible implantation of the second aspect, in a fifth way of possible implantation of the second aspect, when the device is not an AM, the device additionally includes: a third module of AM selection determination, configured to determine, in the following ways, whether or not the NAN Signaling frame is used for AM selection: whether the first AMR is less than the second AMR within a predefined period of time after start of the update of the second AMR, determine that the NAN Signaling frame is not used for AM selection; if the first AMR is equal to a third AMR within the predefined time period, determine that the NAN Signaling frame is not used for AM selection, where the third AMR is an AMR before the second AMR on the device is updated; and if the NAN Signaling frame does not meet a third condition, determine that the NAN Signaling frame is used for AM selection, where the third condition is as follows: the first AMR is less than the second AMR within the period preset time, or the first AMR is the same as the third AMR within the preset time period.
[0031] With reference to the second aspect or the first or second possible implantation of the second aspect, in a sixth possible implantation of the second aspect, when the device is not an AM, the device additionally includes: a fourth module of AM selection determination, configured to determine, in the following ways, whether or not the NAN Signaling frame is used for AM selection: whether the first AMR is less than the second AMR within a predefined period of time after start of the update of the second AMR, determine that the NAN Signaling frame is not used for AM selection; if the first AMBTT is less than the second AMBTT within the predefined time period, determine which NAN Signaling frame is not used for AM selection; and if the NAN Signaling frame does not meet a fourth condition, determine that the NAN Signaling frame is used for AM selection, where the fourth condition is as follows: the first AMR is less than the second AMR within the period preset time, or the first AMR is the same as the third AMR within the preset time period.
[0032] With reference to the first, second, third, fourth, fifth or sixth possible deployment of the second aspect, in a seventh possible deployment of the second aspect, the information update module is additionally configured for: if the NAN Signaling frame is used for AM selection, when the first AMR is greater than the second AMR, update, according to the NAN Signaling frame, the second AM information and the second TSF information that are registered on the device.
[0033] With reference to the second aspect or the first, the second, the third, the fourth, the fifth, the sixth or the seventh way of possible implantation of the second aspect, in an eighth way of possible implantation of the second aspect, the module information update includes: a first AMR update sub-module, configured to update the second AMR value to the first AMR value; a first HC update sub-module, configured to update the value of the second HC to the value of the first HC plus 1; a first AMBTT update sub-module, configured to: if the NAN Signaling frame is sent by AM, update the second AMBTT value to a value of a predefined byte / predefined bytes of the first TSF information; or if the NAN Signaling frame is not sent by the AM, update the second AMBTT value to the first AMBTT; and a TSF update sub-module, configured to update a value of the second TSF information to a value of the first TSF information.
[0034] With reference to the second aspect or to the first, the second, the third, the fourth, the fifth, the sixth, the seventh or the eighth possible implantation of the second aspect, in a ninth possible implantation of the second aspect , the information update module is additionally configured for: if the NAN Signaling frame is used for AM selection, when the first AMR is equal to the second AMR, if the first AMBTT is greater than the second AMBTT, or the first AMBTT is equal to the second AMBTT and the first HC is less than the second HC minus 1, update, according to the NAN Signaling table, the second TSF information and some information or all the information of the second AM information that are registered on the device.
[0035] With reference to the ninth way of possible implantation of the second aspect, in a tenth way of possible implantation of the second aspect, if the NAN Signaling frame is used for AM selection, when the first AMR is equal to the second AMR, and the first AMBTT is larger than the second AMBTT, the information update module includes: the first HC update sub-module, configured to update the value of the second HC to the value of the first HC plus 1; the first AMBTT update sub-module, configured for: if the NAN Signaling frame is sent by AM, update the second AMBTT value to the value of the predefined byte / predefined bytes of the first TSF information; or if the NAN Signaling frame is not sent by the AM, update the second AMBTT value to the first AMBTT; and the TSF update sub-module, configured to update the value of the second TSF information to the value of the first TSF information; and if the NAN Signaling frame is used for AM selection, when the first AMR is equal to the second AMR, and when the first AMBTT is equal to the second AMBTT, and the first HC is less than the second HC minus 1, the information update module includes: the first HC update sub-module, configured to update the value of the second HC to the value of the first HC plus 1; and the TSF update sub-module, configured to update the value of the second TSF information to the value of the first TSF information.
[0036] With reference to the second aspect or the first, the second, the third, the fourth, the fifth, the sixth, the seventh or the eighth way of possible implantation of the second aspect, in an eleventh way of possible implantation of the secondly, the device additionally includes at least one of the following modules: a module to ignore Signaling frame, configured for: if the NAN Signaling frame is used for AM selection, when the first AMR is equal to the second AMR, and the first HC is greater than or equal to the second HC, ignoring the first AM information carried in the NAN Signaling frame; a first update module, configured for: if the NAN Signaling frame is used for AM selection, and the NAN Signaling frame is not sent by the AM, when the first AMR is equal to the second AMR, the first HC is equal to the second HC minus 1 and the first AMBTT is greater than the second AMBTT, updating the second AMBTT value to the first AMBTT, and updating the value of the second TSF information to the value of the first TSF information; a second update module, configured for: if the NAN Signal frame is used for AM selection, and the NAN Signal frame is sent by the AM, when the first AMR is equal to the second AMR, the first HC is equal at the second HC minus 1 and the value of the default byte / predefined bytes of the first TSF information is greater than the second AMBTT, updating the second AMBTT value to the first AMBTT, and updating the value of the second TSF information to the value of the first TSF information; and a third update module, configured for: if the NAN Signaling frame is used for AM selection, when the first AMR is equal to the second AMR, and the first HC is less than the second HC minus 1, if the frame Signaling NAN is sent by AM, updating the second AMBTT value to the value of the predefined byte / predefined bytes of the first TSF information; or if the NAN Signal frame is not sent by AM, update the second AMBTT value to the first AMBTT, update the value of the second TSF information to the value of the first TSF information, and update the value of the second HC to the value of the first HC plus 1.
[0037] With reference to the second aspect or the first, the second, the third, the fourth, the fifth, the sixth, the seventh, the eighth, the ninth, the tenth, or the eleventh possible way of implanting the second aspect, in a twelfth way of implementing the second aspect, the switching assignment module is additionally configured for: when a difference obtained by subtracting the second AMBTT from the value of the second TSF information is greater than a predefined transmission time threshold , switch the device assignment to AM.
[0038] With reference to the second aspect or the first, the second, the third, the fourth, the fifth, the sixth, the seventh, the eighth, the ninth, the tenth, the eleventh, or the twelfth way possible deployment of the second aspect, in a thirteenth possible deployment mode of the second aspect, when the device is not an AM, and the RM of the device is updated, the assignment switch module is additionally configured for: when an updated MR of the device is greater than the second AMR, switch the device assignment to AM.
[0039] With reference to the second aspect or the first, the second, the third, the fourth, the fifth, the sixth, the seventh, the eighth, the ninth, the tenth, the eleventh, the twelfth or the thirteenth possible implementation of the second aspect, in a fourteenth possible implementation of the second aspect, the assignment switch module includes: a second AMR update sub-module, configured to update the second AMR value to the value MR of the device; a second HC update sub-module, configured to update the value of the second HC to 0; and a second AMBTT update sub-module, configured to update the second AMBTT value to a value of a predefined byte / predefined bytes of the second TSF information. With reference to the second aspect or the first, the second, the third, the fourth, the fifth, the sixth, the seventh, the eighth, the ninth, the tenth, the eleventh, the twelfth or the thirteenth way of implementing the second aspect, in a fifteenth way of implementing the second aspect, the switch assignment module includes: a second AMR update sub-module, configured to update the second AMR value to the MR value of the device; a second HC update sub-module, configured to update the value of the second HC to 0; and a second AMBTT update sub-module, configured to update the second AMBTT value to 0x00000000.
[0040] With reference to the second aspect or the first, the second, the third, the fourth, the fifth, the sixth, the seventh, the eighth, the ninth, the tenth, the eleventh, the twelfth, the thirteenth, fourteenth or fifteenth possible deployment of the second aspect, in a sixteenth possible deployment of the second aspect, when the device is an AM, the device additionally includes: a maintenance module assignment, set to: when the device RM is updated, maintain an AM assignment, and update the second registered AMR to an updated device MR value. According to a third perspective, one embodiment of the present invention provides a computer product for AM master anchor selection, comprising computer program code, which, when executed by a computer unit, will cause the computer unit perform the method of any of the first aspect, and the first to fourth possible ways of implanting the first aspect.
[0041] It can be learned from the aforementioned technical solutions that the modalities of the present invention have the following advantages:
[0042] In the modalities of the present invention, after a device receives a NAN Signal frame, if the NAN Signal frame is used for AM selection, when a first AMR included in the NAN Signal frame is less than one second AMR recorded on the device, and a device MR is greater than the first AMR, the device switches an assignment from the device to AM; and if the NAN Signal frame is used for AM selection, when the first AMR included in the NAN Signal frame is less than the second AMR recorded on the device, and the device's MR is less than the first AMR, the device updates, according to the NAN Signaling table, second AM information and second TSF information that are registered on the device. In a case where the NAN Signaling frame received by the device can be used for AM selection, when the first AMR is less than the second AMR, and the device's MR is greater than the first AMR, the device assignment is switched to AM, and the device whose assignment is switched to AM can overwrite an original AM in a NAN cluster, and therefore an original AMR in the NAN cluster is also overwritten; even if an AM RM becomes smaller, a new AM is selected quickly. Therefore, there is always an AM in the NAN cluster, and each device can record correct AM information, in order to avoid a malfunction of the entire NAN cluster, and to ensure that time synchronization between devices can be implemented. When the device's MR value is insufficient to make the device an AM, that is, when the first AMR is less than the second AMR recorded on the device, and the device's MR is less than the first AMR, the device can update, according to the NAN Signaling table, the second AM information and the second TSF information that are registered on the device, and therefore the second AMR registered on the device is also updated, and the original AMR in the NAN cluster is also updated. is overwritten; even if the MR of the AM becomes smaller, a new AM can be selected quickly. Therefore, there is always an AM in the NAN cluster, and each device can record the correct AM information, in order to prevent a malfunction of the entire NAN cluster and ensure that time synchronization between devices can be implemented. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] To describe the technical solutions in the modalities of the present invention more clearly, the following are briefly presented the attached drawings required to describe the modalities. Of course, the accompanying drawings in the following description merely show some embodiments of the present invention, and a person skilled in the art can still derive other designs from those attached drawings.
[0044] Figure 1 is a schematic block diagram of a method method for selecting a master anchor according to an embodiment of the present invention;
[0045] Figure 2 is a schematic diagram of a frame structure of a NAN Signaling frame according to an embodiment of the present invention;
[0046] Figure 3 is a schematic block flowchart of another method for selecting the master anchor according to a modality of the present invention;
[0047] Figure 4 is a schematic block flowchart of another method for selecting the master anchor according to one embodiment of the present invention;
[0048] Figure 5-a is a schematic diagram of a process of updating AM information recorded on each device in common deployment means;
[0049] Figure 5-b is a schematic diagram of a process of updating AM information recorded on each device according to an embodiment of the present invention;
[0050] Figure 6-a is a schematic diagram of collecting statistics related to an AMR value in a common method for selecting AM;
[0051] Figure 6-b is a schematic diagram of collecting statistics relating to an AMR value in a method for selecting AM according to one embodiment of the present invention;
[0052] Figure 6-c is a schematic diagram of an enlarged upper part of Figure 6-a;
[0053] Figure 6-d is a schematic diagram of an enlarged upper part of Figure 6-b;
[0054] Figure 6-e is a schematic diagram of collecting statistics related to a maximum RM in a NAN network in a common method for selecting AM;
[0055] Figure 6-f is a schematic diagram of collecting statistics related to a maximum RM in a NAN network in a method for selecting AM according to one embodiment of the present invention;
[0056] Figure 6-g is a schematic diagram of collecting statistics related to the number of AMs in a NAN network in a common method for selecting AM;
[0057] Figure 6-h is a schematic diagram for collecting statistics related to the number of AMs in a NAN network in a method for selecting AM according to one embodiment of the present invention;
[0058] Figure 6-i is a schematic diagram of collecting statistics related to an HC in a NAN network in a common method for selecting AM;
[0059] Figure 6-j is a schematic diagram of collecting statistics related to an HC in a NAN network in a method for selecting AM according to one embodiment of the present invention;
[0060] Figure 6-k is a schematic diagram of collecting statistics related to a change of a TSF in a NAN network in a common method for selecting AM;
[0061] Figure 6-I is a schematic diagram of collecting statistics related to a change of a TSF in a NAN network in a method for selecting AM according to a modality of the present invention;
[0062] Figure 7-a is a schematic structural diagram of the composition of a master anchor selection device according to an embodiment of the present invention;
[0063] Figure 7-b is a schematic structural diagram of the composition of another device for selecting the master anchor according to an embodiment of the present invention;
[0064] Figure 7-c is a schematic structural diagram of the composition of another device for selecting the master anchor according to an embodiment of the present invention;
[0065] Figure 7-d is a schematic structural diagram of the composition of another device for selecting the master anchor according to an embodiment of the present invention;
[0066] Figure 7-e is a schematic structural diagram of the composition of another device for selecting the master anchor according to a modality of the present invention;
[0067] Figure 7-f is a schematic structural diagram of the composition of another device for selecting the master anchor according to a modality of the present invention;
[0068] Figure 7-g is a schematic structural diagram of the composition of an information update module according to an embodiment of the present invention;
[0069] Figure 7-h is a schematic structural diagram of the composition of another device for selecting the master anchor according to an embodiment of the present invention;
[0070] Figure 7-i is a schematic structural diagram of the composition of another device for selecting the master anchor according to an embodiment of the present invention;
[0071] Figure 7-j is a schematic structural diagram of the composition of an assignment switch module according to an embodiment of the present invention; and
[0072] Figure 8 is a structural schematic diagram of the composition of another device for selecting the master anchor according to a modality of the present invention. DESCRIPTION OF MODALITIES
[0073] Modalities of the present invention provide a method and device for master anchor selection, which are used to maintain time synchronization between devices in a NAN cluster.
[0074] To make the objectives, resources, and advantages of the present invention clearer and more understandable, the technical solutions in the modalities of the present invention are described below with reference to the accompanying drawings in the modalities of the present invention. Of course, the modalities described below are merely a part of, and not all of, the modalities of the present invention. All other modalities obtained by a person skilled in the art based on the modalities of the present invention will be covered within the scope of protection of the present invention.
[0075] Terms such as "first", "second (a)" in the specification, claims and the aforementioned attached drawings of the present invention are used to differentiate between similar objects, and are not necessarily used to describe a sequence or order specific. It is to be understood that the terms are interchangeable under appropriate circumstances, and are merely used to differentiate objects with similar attributes when describing modalities of the present invention. In addition, the terms "include" and "have" and any variations thereof are intended to cover non-exclusive inclusion, so that a process, method, system, product, or device that includes a series of units , are not necessarily limited to units expressly listed, but may include other units that are not expressly listed or that are inherent in such a process, method, product or device.
[0076] Details are separately described below.
[0077] One embodiment of a method for selecting the master anchor in the present invention can be applied to a device in a NAN cluster. With reference to Figure 1, the method can include the following steps:
[0078] 101. The device receives a neighbor identification network signaling frame (Neighbor Identification Network Signaling, NAN Signaling).
[0079] The NAN Signaling frame carries first master anchor information (Master Anchor, AM) and first time synchronization information (Time Synchronization Function, TSF), and the first AM information includes: a first master anchor category (Master Anchor Category, AMR), a first hop count (hop count, HC), and a first master anchor signal transmission time (Master Anchor Signaling Time, AMBTT).
[0080] In this embodiment of the present invention, devices in the same NAN cluster have the same cluster identifier. Each device has its own attributes, including: an assignment (Assignment) and a state (State). An assignment includes two types: a master (Master) and a non-master (non-master), and a state includes two types: sync (sync) and non-sync (non-sync). A device in the sinc state is responsible for maintaining cluster synchronization. A master must be in the sinc state, but a non-master can be in a sinc or non-sinc state. Each device additionally includes a master category (Master Category, MR). In this embodiment of the present invention, the MR represents a degree of device intention to serve with a master, and the MR includes three parts: Master category = Master preference * 2A56 + Random factor * 2A48 + MAC [5] * 2A40 + .. . + MAC [0].
[0081] That is, the MR of each device includes an 8-bit master preference (Master Preference), an 8-bit Random Factor (Random Factor), and its own 48-bit medium access control address (Data Control). Access to Medium, MAC). The random factor changes randomly once every 120 discovery windows (Discovery Window, DW). To prevent it from being traced, a local (Local) address is used as the MAC address of the NAN device, and each local MAC address remains unchanged for at least 30 minutes. According to an existing device assignment and a state switching rule, a device with a higher MR becomes a master. A master with a larger MR is referred to as an AM, all other devices are kept in sync in time with the AM, thereby ensuring synchronization of the entire NAN cluster. NAN team synchronization indicates that TSFs of all devices in the team maintain the same. For TSF synchronization, all devices need to be synchronized according to a clock from the same reference source, that is, the selected AM is used as the reference source, and a clock from another device maintains synchronization according to the clock. of the AM. According to the aforementioned description, since a NAN synchronization reference is the AM, that is, the master with the largest MR, and the MR changes randomly with time, when a RM of a device changes, the master with the MR larger in the cluster also changes. The NAN cluster is a loose distributed network, and therefore, when the device's RM changes, a correct AM can be immediately selected from the NAN cluster, which is crucial to maintaining synchronization of the NAN cluster.
[0082] It should be noted that the synchronization of the NAN cluster is implemented by sending and receiving a NAN Signaling frame. In some embodiments of the present invention, the NAN Signaling frame received by the device can be specifically referred to as a synchronization signaling frame (Sync Signaling). In some other modalities, the NAN Signaling frame received by the device can be referred to as a discovery signaling frame (Discovery Signaling). The master sync and the non-master sync separately send a Sync Signal frame once in each DW, and the master sends a Discovery Signal frame once every 100 time units (Time Unit, TU) out of one DW. The latter enables another device that has not joined the NAN cluster to learn about the time when a next DW starts, in order to join the cluster. At present, an initial location of a DW specified in the NAN cluster is fixed, for example, a DW starts when a TSF is an integer multiple of 512 TUs. The Sync Signal frame and the Discovery Signal frame are frames with a similar frame structure, and have different names just because their shipping locations are different. In addition to being used for synchronization, the device additionally performs state assignment and switching according to a received Sync Signaling frame. An example where the NAN Signaling frame is specifically a Sync Signaling frame is described below.
[0083] In this embodiment of the present invention, since crystal oscillators within different NAN devices have different frequencies, two devices need to be frequently synchronized to ensure that no major deviation occurs between the system clocks of the two devices. To keep NAN grouping synchronized, each master sync and each non-master sync sends a Sync Signaling frame within a DW, where the Sync Signaling frame includes AM information and a Time Stamp (eight bytes), and the Time Stamp is a TSF. To differentiate AM information carried on the NAN Signaling frame from AM information registered on a device, which are two different pieces of AM information, in the following modalities, the AM information carried on the NAN Signaling frame (which are also simply referred to as an AM carried on the board) is referred to as "first AM information", and the AM information registered on the device (which is also simply referred to as a registered AM) is referred to as "second AM information". Similarly, an AMR, an HC, and an AMBTT that are included in the first AM information are referred to respectively as "a first AMR", "a first HC", and "a first AMBTT", and an AMR, an HC , and an AMBTT that are included in the second AM information are referred to respectively as "a second AMR", "a second HC", and "a second AMBTT". Similarly, in the following modalities, TSF information carried in the NAN Signaling frame is referred to as "first TSF information", and TSF information registered on the device is referred to as "second TSF information".
[0084] Specifically, the first AM information carried in the Sync Signaling frame may include the following content: a first AMR, that is, an MR value of an AM; a first HC, that is, the number of hops from a current NAN device to the AM, where the HC of the AM is equal to 0, that is, it can be determined, according to whether or not the HC carried in the Signaling frame Sync is 0, whether or not the device is an AM. When the HC carried in the Sync Signaling frame is 0, the device that sends the Sync Signaling frame is AM; or when the HC carried on the Sync Signaling frame sent is greater than 0, the device that sends the Sync Signaling frame is not the AM; and a first AMBTT, that is, a value of a predefined byte / predefined bytes of the TSF when the AM sends the Sync Signaling frame, where if the device receives two Sines Signaling frames with different AMBTTs, a Signaling frame of Sync with a higher AMBTT is considered to be the latest Sync Signaling framework.
[0085] In this embodiment of the present invention, AMBTT is specified as follows: AM AMTT is 0, that is, it can be determined, according to whether or not the AMBTT ported in the Sync Signaling frame is 0, if whether or not the device is AM. When the AMBTT ported on the Sync Signaling frame is 0, the device that sends the Sync Signaling frame is AM; or when the AMBTT ported on the Sync Signaling frame sent is greater than 0, the device that sends the Sync Signaling frame is not the AM. Therefore, when the device receives an AM Sync Signaling frame (which can be determined according to whether or not the AMBTT is 0 or the HC is 0), if the AMBTT needs to be updated, the last four bytes of a value a Time Stamp (TSF) field of the Sync Signaling frame are used to define an AMBTT registered on the device; if the device receives a Sync Signal frame from a non-AM, and if the AMBTT needs to be updated, the AMBTT value in the Sync Signal frame is directly used to define the AMBTT registered on the device.
[0086] Referring to Figure 2, Figure 2 is a schematic diagram of a frame structure of a NAN Signaling frame according to an embodiment of the present invention. Each field is described as follows: FC: Frame Control, a frame control field, which occupies two bytes (octets); Duration: a duration field, which occupies two bytes; A1-A3: Addresses1-3, an address field 1-3, which occupies six bytes separately; Sequence Control: a sequence control field, which occupies two bytes; Time Stamp: a Time Stamp field, which occupies eight bytes; Signaling Range: a signaling range field, which occupies two bytes; Capacity: a capacity field, which occupies two bytes; NAN IE: NAN Information Element, an element of network information for neighbor identification, where var is a reserved word and is used to define a variable; and FCS: Frame Check Sequence, a frame check sequence, which occupies four bytes.
[0087] The NAN Signaling frame for each master sync and each non-master sync is a broadcast message, which can be obtained by listening to it by another device. As described in step 101 in that embodiment of the present invention, the device can receive the NAN Signaling frame.
[0088] It should be noted that in this embodiment of the present invention, a clustering device that receives a NAN Signaling frame compares AM information carried on the NAN Signaling frame with AM information registered on the device, in order to determine whether or do not update the AM information and whether or not synchronize with a Time Stamp on the NAN Signboard. As described above, clock information comes from the AM, and therefore synchronization is performed on the entire NAN cluster by using the AM as a reference.
[0089] It should be noted that in this embodiment of the present invention, after the device receives the NAN Signaling frame, the device can acquire the AM information carried on the frame from the NAN Signaling frame, and can determine, from According to the AM information carried on the NAN Signal board, whether or not the NAN Signal board can be used for AM selection. For a case where the NAN Signal frame can be used for AM selection, subsequent steps can continue to be performed, and for a case where the NAN Signal frame is not used for AM selection, the first information of AM carried on the NAN Signaling frame may be unprocessed. For example, the first AM information carried in the NAN Signaling frame is ignored. In this embodiment of the present invention, the device can determine whether or not the NAN Signaling frame is used for AM selection. In a case where the NAN Signal frame cannot be used for AM selection, the first AM information carried on the NAN Signal frame is ignored, so that the first AM information carried on the NAN Signal frame do not perform an assignment in AM selection, which can avoid an issue that when an MR value of an AM in a NAN cluster becomes smaller, there is always an original AMR value in the NAN cluster and cannot be removed . An AM that actually provides an AMR value can always exist in the NAN cluster, which can ensure a time synchronization function between devices.
[0090] The device determines whether or not a frame received from NAN Signaling is used for AM selection, selects a frame that can be used for AM selection of any frame received from NAN Signaling, and performs subsequent processing only on the frame NAN Signaling that can be used for AM selection.
[0091] Specifically, in some embodiments of the present invention, for a difference as to whether or not the device itself is an AM, the determination, by the device, of whether or not the NAN Signaling frame is used for AM selection can be processed in different ways of implantation, which are described separately below.
[0092] When the device is an AM, whether or not the NAN Signaling frame is used for AM selection is determined in the following ways:
[0093] A11. If the first AMR is less than the second AMR, the device determines that the NAN Signal frame is not used for AM selection.
[0094] A12. If the first AMR is greater than or equal to the second AMR, and if the first AMR is equal to a third AMR within a predefined period of time after the start of the second AMR update, the device determines that the NAN Signaling frame it is not used for AM selection, where the third AMR is an AMR before the second AMR on the device is updated.
[0095] A13. If the NAN Signal frame does not meet the first condition, the device determines that the NAN Signal frame is used for AM selection, where the first condition is as follows: the first AMR is less than the second AMR, or the first AMR is the same as the third AMR within the predefined time period.
[0096] In addition, when the device is an AM, whether or not the NAN Signaling frame is used for AM selection can be determined in the following ways:
[0097] A21. If the first AMR is less than the second AMR, the device determines that the NAN Signal frame is not used for AM selection.
[0098] A22. If the first AMR is greater than or equal to the second AMR, and if the first AMBTT is less than a second AMBTT within a predefined period of time after the start of the second AMR update, the device determines that the NAN Signaling frame it is not used for AM selection.
[0099] A23. If the NAN Signal frame does not meet a second condition, the device determines that the NAN Signal frame is used for AM selection, where the second condition is as follows: the first AMR is less than the second AMR, or the first AMBTT is less than the second AMBTT within the predefined time period.
[00100] In some embodiments of the present invention, the device can determine a value relationship between the first AMR and the second AMR, that is, the device can determine whether or not the first AMR is less than the second AMR, where the first AMR is an AMR carried on the NAN Signal board, and the second AMR is an AMR registered on the device. When the device is an AM, the first AMR is less than the second AMR in steps A11 and A21, that is, the AMR registered on the device is greater than the AMR carried on the NAN Signal board, and the first AM information carried. in the NAN Signaling frame are ignored. In this case, the device can determine that the NAN Signal frame is not used for AM selection.
[00101] When the device is an AM, the device determines that the first AMR is greater than or equal to the second AMR; and when the second AMR registered on the device is updated, the AMR prior to updating the second AMR on the device is the third AMR. If the device is within the predefined time period after the start of the second AMR update, the device determines whether or not the first AMR is equal to the third AMR. If the device is at another time outside the predefined time period, the device does not need to perform step A12, that is, when the device is at another time outside the predefined time period, the device does not need to determine whether or not the first AMR is the same as the third AMR. In step A12, only when three conditions are met at the same time: the device is an AM, the first AMR is greater than or equal to the second AMR, and the first AMR is equal to the third AMR within the predefined time period after the start After updating the second AMR, the device can determine that the frame received from NAN Signaling is not used for AM selection. In addition, in this embodiment of the present invention, a predefined time period value needs to be determined according to a specific application scenario. For example, the default time period value can be multiple DWs; or it may not be described by using a DW. For example, the default time period value is N ms or N TU / TUs.
[00102] After the device determines a condition in which the received NAN Signal frame is not used for AM selection, in any case, except that the NAN Signal frame is not used for AM selection, the device can determine that the NAN Signaling frame is used for AM selection. Therefore, in step A13, "the first condition" is defined in a case where the device is an AM; when the NAN Signaling frame does not meet the first condition, the device can determine that the received NAN Signaling frame can be used for AM selection. Specifically, the first condition is: (a) or (b):
[00103] (a). The first AMR is smaller than the second AMR.
[00104] (b). The first AMR is the same as the third AMR within the predefined time period after the second AMR recorded on the device is updated.
[00105] The fact that the NAN Signaling frame does not meet the first condition may refer to that the NAN Signaling frame does not meet (a) nor does it meet (b). The fact that (a) is not met refers to the first AMR being greater than or equal to the second AMR. The fact that (b) is not met includes two cases: the device is not within the predefined time period; and the device is within the predefined time period, but the first AMR is not the same as the third AMR. If neither (a) nor (b) are met, it is considered that the NAN Signaling framework does not meet the first condition. Therefore, when the device is an AM and the NAN Signal frame does not meet the first condition, the device can determine that the NAN Signal frame is not used for AM selection.
[00106] When the device is an AM, the device determines that the first AMR is greater than or equal to the second AMR, and when the second AMR registered on the device is updated, if the device is within the predefined time period after the start after updating the second AMR, the device determines whether or not the first AMBTT is less than the second AMBTT; or if the device is at another time outside the predefined time period, the device does not need to perform step A22, that is, when the device is at another time outside the predefined time period, the device does not need to determine whether or not the first AMBTT is smaller than the second AMBTT. In step A22, only when three conditions are met at the same time: the device is an AM, the first AMR is greater than or equal to the second AMR, the first AMBTT is less than the second AMBTT within the predefined time period after the start After updating the second AMR, the device can determine that the frame received from NAN Signaling is not used for AM selection. In addition, in this embodiment of the present invention, a predefined time period value needs to be determined according to a specific application scenario. For example, the predefined time period value can be multiple DWs; or it may not be described by using a DW. For example, the default time period value is N ms or N TU / TUs.
[00107] After the device determines a condition in which the received NAN Signal frame is not used for AM selection, in any case, except that the NAN Signal frame is not used for AM selection, the device can determine that the NAN Signaling frame is used for AM selection. Therefore, in step A23, "the second condition" is defined in a case where the device is an AM; when the NAN Signal frame does not meet the second condition, the device can determine that the received NAN Signal frame can be used for AM selection. Specifically, the second condition is: (a) or (c):
[00108] (a). The first AMR is smaller than the second AMR.
[00109] (c). The first AMBTT is less than the second AMBTT within the predefined period of time after the second AMR recorded on the device is updated.
[00110] The fact that the NAN Signaling frame does not meet the second condition may refer to that the NAN Signaling frame neither meets (a) nor meets (c). The fact that (a) is not answered refers to the fact that the first AMR is greater than or equal to the second AMR. The fact that (c) is not met includes two cases: the device is not within the predefined time period; and the device is within the predefined time period, but the first AMBTT is greater than or equal to the second AMBTT. If neither (a) nor (c) are met, it is considered that the NAN Signaling framework does not meet the second condition. Therefore, when the device is an AM and the NAN Signal frame does not meet the second condition, the device can determine that the NAN Signal frame is not used for AM selection.
[00111] For example, if the device itself is an AM, the first AMR value carried in the NAN Signaling frame received by the device is 7, the second AMR registered on the device is 10, the AMR registered on the device is 7 before to be updated to 10, and the value of the predefined time period is 5 DWs, the device separately determines according to the conditions in the first condition: 7 <10, that is, (a) is met, and the device determines that the NAN Signal board is not used for AM selection; if the current device is within 3 DWs, which is less than the 5 DWs value of the predefined time period, and the first AMR is equal to the third AMR, (b) is serviced, and the device determines that the Signaling frame of NAN is not used for AM selection.
[00112] When the device is not an AM, whether or not the NAN Signaling frame is used for AM selection is determined in the following ways:
[00113] B11. If the first AMR is less than the second AMR within a predefined period of time after the start of the second AMR update, the device determines that the NAN Signal frame is not used for AM selection.
[00114] B12. If the first AMR is equal to a third AMR within the predefined time period, the device determines that the NAN Signal frame is not used for AM selection, where the third AMR is an AMR before the second AMR on the device is updated .
[00115] B13. If the NAN Signal frame does not meet a third condition, the device determines that the NAN Signal frame is used for AM selection, where the third condition is as follows: the first AMR is less than the second AMR within the predefined time period, or the first AMR is equal to the third AMR within the predefined time period.
[00116] In addition, when the device is not an AM, whether or not the NAN Signaling frame is used for AM selection can be determined in the following ways:
[00117] B21. If the first AMR is less than the second AMR within a predefined period of time after the start of the second AMR update, the device determines that the NAN Signal frame is not used for AM selection.
[00118] B22. If the first AMBTT is less than a second AMBTT within the predefined time period, the device determines that the NAN Signal frame is not used for AM selection.
[00119] B23. If the NAN Signal frame does not meet a fourth condition, the device determines that the NAN Signal frame is used for AM selection, where the fourth condition is as follows: the first AMR is less than the second AMR within the predefined time period, or the first AMBTT is less than the second AMBTT within the predefined time period.
[00120] In some embodiments of the present invention, when the second AMR in the device is updated, it is first determined whether or not a time the device is within is within the predefined period of time after the second AMR is updated. If the device is within the predefined time period, the device can determine a value relationship between the first AMR and the second AMR, that is, the device can determine whether or not the first AMR is less than the second AMR, where the first AMR is an AMR carried on the NAN Signal board, and the second AMR is an AMR registered on the device. When the device is not an AM, the first AMR is less than the second AMR in steps B11 and B21, that is, the AMR registered on the device is greater than the AMR carried in the NAN Signaling frame, and the first AM information carried in the NAN Signaling frame are ignored. In this case, the device can determine that the NAN Signal frame is not used for AM selection.
[00121] When the device is not an AM, and when the second AMR registered on the device is updated, the AMR before the second AMR on the device is updated is the third AMR. If the device is within the predefined time period after the start of the second AMR update, the device determines whether or not the first AMR is equal to the third AMR; or if the device is at another time outside the predefined time period, the device does not need to perform step B12, that is, when the device is at another time outside the predefined time period, the device does not need to determine whether or not it first AMR is the same as the third AMR. In step B12, only when two conditions are met at the same time: the device is not an AM, and the first AMR is equal to the third AMR within the predefined time period after the start of the second AMR update, the device can determine that the frame received from NAN Signaling is not used for AM selection. In addition, in this embodiment of the present invention, a predefined time period value needs to be determined according to a specific application scenario. For example, the default time period value can be multiple DWs; or it may not be discouraged by the use of a DW. For example, the default time period value is N ms or N Tll / TUs.
[00122] After the device determines a condition in which the received NAN Signal frame is not used for AM selection, in any case, except that the NAN Signal frame is not used for AM selection, the device can determine that the NAN Signaling frame is used for AM selection. Therefore, in step B13, "the third condition" is defined in a case where the device is not an AM; when the NAN Signaling frame does not meet the third condition, the device can determine that the received NAN Signaling frame can be used for AM selection. Specifically, the third condition is: (d) or (e):
[00123] (d). The first AMR is less than the second AMR within the predefined time period.
[00124] (e). The first AMR is the same as the third AMR within the predefined time period.
[00125] The fact that the NAN Signaling frame does not meet the third condition may refer to that the NAN Signaling frame neither meets (d) nor meets (e). The fact that (d) is not met includes two cases: the device is not within the predefined time period; and the device is within the predefined time period, but the first AMR is greater than or equal to the second AMR. The fact that (e) is not answered includes two cases: the device is not within the predefined time period; and the device is within the predefined time period, but the first AMR is not the same as the third AMR. If neither (d) nor (e) are met, it is considered that the NAN Signaling framework does not meet the third condition. Therefore, when the device is an AM and the NAN Signal frame does not meet the third condition, the device can determine that the NAN Signal frame is not used for AM selection.
[00126] When the device is not an AM, and when the second AMR registered on the device is updated, the AMR before the second AMR on the device is updated is the third AMR. If the device is within the predefined time period after the start of the second AMR update, the device determines whether or not the first AMBTT is less than the second AMBTT; or if the device is at another time outside the predefined time period, the device does not need to perform step B22, that is, when the device is at another time outside the predefined time period, the device does not need to determine whether or not the first AMBTT is smaller than the second AMBTT. In step B22, only when two conditions are met at the same time: the device is not an AM, and the first AMBTT is less than the second AMBTT within the predefined time period after the start of the second AMR update, the device can determine that the frame received from NAN Signaling is not used for AM selection. In addition, in this embodiment of the present invention, a predefined time period value needs to be determined according to a specific application scenario. For example, the default time period value can be multiple DWs; or it may not be described by using a DW. For example, the default time period value is N ms or N Tll / TUs.
[00127] After the device determines a condition in which the received NAN Signal frame is not used for AM selection, in any case, except that the NAN Signal frame is not used for AM selection, the device can determine that the NAN Signaling frame is used for AM selection. Therefore, in step B23, "the fourth condition" is defined in a case where the device is not an AM; when the NAN Signaling frame does not meet the fourth condition, the device can determine that the received NAN Signaling frame can be used for AM selection. Specifically, the fourth condition is: (d) or (f):
[00128] (d). The first AMR is less than the second AMR within the predefined time period.
[00129] (f). The first AMBTT is less than the second AMBTT within the predefined time period.
[00130] The fact that the NAN Signaling frame does not meet the fourth condition may refer to that the NAN Signaling frame neither meets (d) nor meets (f). The fact that (d) is not met includes two cases: the device is not within the predefined time period; and the device is within the predefined time period, but the first AMR is greater than or equal to the second AMR. The fact that (f) is not met includes two cases: the device is not within the predefined time period; and the device is within the predefined time period, but the first AMBTT is greater than or equal to the second AMBTT. If neither (d) nor (f) is met, it is considered that the NAN Signaling framework does not meet the fourth condition. Therefore, when the device is an AM and the NAN Signal frame does not meet the fourth condition, the device can determine that the NAN Signal frame is not used for AM selection.
[00131] For example, if the device itself is not an AM, the first AMR value carried in the NAN Signaling frame received by the device is 7, the second AMR registered on the device is 10, the AMR registered on the device is 7 before being updated to 10, and the value of the predefined time period is 5 DWs, the device performs separately determination according to conditions in the second condition: if the current device is within 3 DWs, the device is still within the period of predefined time, and 7 <10, that is, (d) is answered, and the device determines that the NAN Signaling frame is not used for AM selection; and if the current device is in 3 DWs, which is less than the value of 5 DWs of the predefined time period, and the first AMR is equal to the third AMR, (e) is answered, and the device determines that the Signaling frame of NAN is not used for AM selection.
[00132] It should be noted that in this embodiment of the present invention, in a case where the device determines that the NAN Signaling frame is not used for AM selection, the device can ignore the first AM information carried in the Signaling frame of NAN. In a case where the device determines that the NAN Signaling frame is used for AM selection, the device still needs to determine the value relationship between the first AMR and the second AMR, and determine a value relationship between an MR of the device and the first AMR. There are three results for the device to determine the value relationship between the first AMR and the second AMR: (1) The first AMR is greater than the second AMR. (2) The first AMR is the same as the second AMR. (3) The first AMR is less than the second AMR. There are three results for determining, by the device, the value relationship between the MR and the first AMR: (1) The MR is greater than the first AMR. (2) MR is less than the first AMR. (3) MR is the same as the first AMR. Only in a case where the NAN Signaling frame is used for AM selection, step 102 and step 103 are performed separately according to a determining result.
[00133] 102. If the NAN Signal frame is used for AM selection, when a first AMR is less than a second AMR, and a device MR is greater than the first AMR, the device switches an assignment from the device to AM.
[00134] The device records second AM information, where the second AM information includes: the second AMR, a second HC, and the second AMBTT.
[00135] In this embodiment of the present invention, after the device receives the NAN Signaling frame, in a case where the NAN Signaling frame is used for AM selection, when two conditions are met at the same time: the first AMR is less than the second AMR, and the device's MR is greater than the first AMR, the device switches the device assignment to AM.
[00136] In some embodiments of the present invention, the device switches its own assignment in the cluster from NAN to AM according to a requirement to switch assignment in the cluster from NAN when both conditions are met at the same time: the first AMR is less than the second AMR, and the device's MR is greater than the first AMR.
[00137] It should be noted that, in a case where the NAN Signaling frame received by the device can be used for AM selection, when the first AMR is less than the second AMR, and the MR of the device is greater than the first AMR, the device assignment is switched to AM, and the device whose assignment is switched to AM can overwrite an original AM in the NAN pool; therefore, an original AMR in the NAN cluster is also overwritten, even if an AM RM becomes smaller, there is always a device whose MR is an AMR value. Therefore, there is always an AM in the NAN cluster, which prevents a malfunction of the entire NAN cluster, and ensures that time synchronization between devices can be implemented.
[00138] Specifically, in step 102, the fact that the device switches a device assignment to AM can specifically include the following steps:
[00139] C1. The device updates the second AMR value to the device's MR value.
[00140] C2. The device updates the second HC value to 0.
[00141] C3. The device updates the second AMBTT value to a value of one predefined byte / predefined bytes of second TSF information.
[00142] Steps C1, C2, and C3 are for an update to the second AM information registered on the device, in order to separately update the second AMR, the second HC, and the second AMBTT that are registered on the device. For example, when a NAN device becomes an AM, the device defines AM information registered to the device as follows: define a second device AMR in its own MR; set a second device HC to 0; and set a second AMBTT of the device to 0x00000000. The predefined byte / predefined bytes of the second TSF information can be a value of the last four bytes or a value of the last five bytes of the second TSF information, and the predefined byte / predefined bytes of the second TSF information can be set accordingly. according to a specific application scenario.
[00143] 103. If the NAN Signal frame is used for AM selection, when the first AMR is less than the second AMR, and the device's MR is less than the first AMR, the device updates, according to the NAN Signaling board, second AM information and second TSF information that are registered on the device.
[00144] In this embodiment of the present invention, after the device receives the NAN Signaling frame, in a case where the NAN Signaling frame is used for AM selection, when two conditions are met at the same time: the first AMR is less than the second AMR, and the MR of the device is less than the first AMR, the device updates, according to the NAN Signaling frame, the second AM information and the second TSF information that are registered on the device .
[00145] In some embodiments of the present invention, according to a requirement to update AM information and TSF information in a NAN cluster, when both conditions are met at the same time: the first AMR is less than the second AMR, and the MR of the device is less than the first AMR, the device updates, according to the NAN Signaling frame, the second AM information and the second TSF information that are registered on the device.
[00146] It should be noted that when the MR value of the device is insufficient to make the device an AM, that is, when the first AMR is less than the second AMR recorded on the device, and the MR of the device is less than the first AMR, the device can update, according to the NAN Signaling frame, the second AM information and the second TSF information that are registered on the device, and therefore the second AMR registered on the device is also updated, and the original AMR in the NAN cluster is also overwritten; even if the MR of AM becomes smaller, there is always the device whose MR is the AMR value. Therefore, there is always an AM in the NAN cluster, which prevents a malfunction of the entire NAN cluster and ensures that time synchronization between devices can be implemented.
[00147] Specifically, in step 103, the fact that the device updates, according to the NAN Signaling framework, second AM information and second TSF information that are registered on the device can specifically include the following steps:
[00148] D1. The device updates the second AMR value to the first AMR value.
[00149] D2. The device updates the value of the second HC to the value of the first HC plus 1.
[00150] D3. If the NAN Signaling frame is sent by an AM, the device updates the second AMBTT value to a value of a predefined byte / predefined bytes of first TSF information; or if the NAN Signaling frame is not sent by an AM, the device updates the second AMBTT value to the first AMBTT.
[00151] D4. The device updates a value from the second TSF information to a value from the first TSF information.
[00152] Steps D1, D2, D3, and D4 are for an update on the second AM information and the second TSF information that are registered on the device, in order to separately update the second AMR, the second HC, the second AMBTT , and the second TSF information that is registered on the device.
[00153] It should be noted that in some other embodiments of the present invention, the method for selecting the master anchor may additionally include the following step:
[00154] E1. If the NAN Signaling frame is used for AM selection, when the first AMR is less than the second AMR, and the MR of the device is equal to the first AMR, the device switches the device assignment to AM; or
[00155] E2. If the NAN Signal frame is used for AM selection, when the first AMR is less than the second AMR, and the MR of the device is equal to the first AMR, the device updates, according to the NAN Signal frame, the second AM information and the second TSF information that are registered on the device.
[00156] Specifically, in step E1, the fact that the device switches the device assignment to AM can specifically include the following steps: update, by the device, the second AMR value to the device's MR value; update, by the device, the value of the second HC to 0; and updating, by the device, the second AMBTT value to the value of the predefined byte / predefined bytes of the second TSF information.
[00157] The aforementioned description is for an update in all the information of the second AM information registered in the device, in order to separately update the second AMR, the second HC, and the second AMBTT that are registered in the device. For example, when a NAN device becomes an AM, the device defines AM information registered to the device as follows: define a second device AMR in its own MR; set a second device HC to 0; and set a second AMBTT of the device to 0x00000000. The predefined byte / predefined bytes of the second TSF information can be a value of the last four bytes or a value of the last five bytes of the second TSF information, and the predefined byte / predefined bytes of the second TSF information can be set accordingly. according to a specific application scenario. For an implementation way of performing assignment switching by the device, refer to the description in the aforementioned step 102, and details are not described in this document again. The difference between step 102 and step E1 lies in an execution condition to switch the device assignment to AM by the device.
[00158] Specifically, in step E2, the fact that the device updates, according to the NAN Signaling framework, second AM information and second TSF information that are registered on the device can specifically include the following steps: update, by the device , the second AMR value for the first AMR value; update, by the device, the value of the second HC to the value of the first HC plus 1; if the NAN signaling frame is sent by AM, update, by the device, the second AMBTT value to the value of the predefined byte / predefined bytes of the first TSF information; or if the NAN Signaling frame is not sent by the AM, update, by the device, the second AMBTT value for the first AMBTT; and updating, by the device, the value of the second TSF information to the value of the first TSF information.
[00159] The aforementioned steps are for updating the second AM information and the second TSF information that are registered on the device, in order to separately update the second AMR, the second HC, the second AMBTT, and the second TSF information that are registered on the device. For how to update, by the device, the second AM information and the second TSF information that are registered on the device, refer to the description in the aforementioned step 103, and details are not described in this document again. A difference between step 103 and step E2 lies in an execution condition to update, by the device, the second AM information and the second TSF information that are registered on the device.
[00160] It can be learned, by using the aforementioned description about this modality of the present invention, that after a device receives a NAN Signaling frame, if the NAN Signaling frame is used for AM selection, when a first AMR included in the NAN Signaling frame is less than a second AMR registered on the device, and a device MR is greater than the first AMR, the device switches an assignment from the device to AM; or if the NAN Signal frame is used for AM selection, when the first AMR included in the NAN Signal frame is less than the second AMR recorded on the device, and an MR of the device is less than the first AMR, the device updates, according to the NAN Signaling table, second AM information and second TSF information that are registered on the device. In a case where the NAN Signaling frame received by the device can be used for AM selection, when the first AMR is less than the second AMR, and the device's MR is greater than the first AMR, the device assignment is switched for AM, and the device whose assignment is switched to AM can overwrite an original AM in a cluster of NAN, and therefore an original AMR in the cluster of NAN is also overwritten; even if an AM RM becomes smaller, there is always a device whose MR is an AMR value. Therefore, there is always an AM in the NAN cluster, which prevents a malfunction of the entire NAN cluster, and ensures that time synchronization between devices can be implemented. When the device's MR value is insufficient to make the device an AM, that is, when the first AMR is less than the second AMR recorded on the device, and the device's MR is less than the first AMR, the device can update, according to the NAN Signaling table, the second AM information and the second TSF information that are registered on the device, and therefore the second AMR registered on the device is also updated, and the original AMR in the NAN cluster is also updated. is overwritten; even if the MR of AM becomes smaller, there is always the device whose MR is the AMR value. Therefore, there is always an AM in the NAN cluster, which prevents a malfunction of the entire NAN cluster and ensures that time synchronization between devices can be implemented.
[00161] With reference to Figure 3, a method for selecting the master anchor provided in another embodiment of the present invention can specifically include the following steps:
[00162] 301. A device receives a NAN Signaling frame.
[00163] The NAN Signaling frame carries first AM information and first TSF information, where the first AM information includes: a first AMR, a first HC, and a first AMBTT.
[00164] In this embodiment of the present invention, after the device receives the NAN Signaling frame, the device can acquire the first HC carried in the NAN Signaling frame from the NAN Signaling frame, and the device can determine a value relationship between the first HC and a predefined hop count threshold. When the first HC is greater than the predefined hop count threshold, step 302 is performed. When the first HC is less than or equal to the predefined hop count threshold, the device can determine, according to the AM information carried in the NAN Signal frame, whether or not the NAN Signal frame can be used to AM selection. For a case where the NAN Signaling frame can be used for AM selection, subsequent steps can continue to be performed, for example, the execution of step 303 and step 304 is triggered separately.
[00165] It should be noted that in some other embodiments of the present invention, in addition to performing step 303 and step 304, the method for master anchor selection may additionally include the following steps: whether the NAN Signal frame is used for AM selection, when the first AMR is less than the second AMR, and the MR of the device is equal to the first AMR, the device switches the device assignment to AM; or if the NAN Signal frame is used for AM selection, when the first AMR is less than the second AMR, and the MR of the device is equal to the first AMR, the device updates, according to the NAN Signal frame , the second AM information and the second TSF information that are registered on the device.
[00166] All information of the second AM information registered on the device can be updated, and the second AMR, a second HC, and a second AMBTT that are registered on the device are updated separately. For example, when a NAN device becomes an AM, the device defines AM information registered to the device as follows: define the device's second AMR in its own MR; setting a second HC of the device to 0; and setting a second device AMBTT to 0x00000000. A value of a predefined byte / predefined bytes of the second TSF information can be a value of the last four bytes or a value of the last five bytes of the second TSF information, and the predefined byte / predefined bytes of the second TSF information can be defined according to a specific application scenario. For an update to the second AM information and the second TSF information that are registered on the device, specifically the second AMR, the second HC, the second AMBTT, and the second TSF information that is registered on the device can be updated separately . For an update, by the device, in the second AM information and in the second TSF information that are registered on the device, reference is made to the description in the aforementioned step 103, and the details are not described in this document again.
[00167] It should be noted that, in this embodiment of the present invention, in a case where the device determines that the NAN Signaling frame is not used for AM selection, the device may ignore the first AM information carried in the frame. NAN signaling. In a case where the device determines that the NAN Signaling frame is used for AM selection, the device still needs to determine a value relationship between the first AMBTT and the second AMBTT. There are three results for the determination, by the device, of the value relationship between the first AMBTT and the second AMBTT (1) The first AMBTT is greater than the second AMBTT. (2) The first AMBTT is the same as the second AMBTT. (3) The first AMBTT is smaller than the second AMBTT. The device additionally needs to determine a value relationship between the first HC and the second HC, and there are two results for determining, by the device, the value relationship between the first HC and the second HC: (1) The first HC is less than the second HC minus 1. (2) The first HC is greater than the second HC minus 1. Steps 305, 306, and 307 continue to be performed separately according to a difference in each determinant result.
[00168] 302. If a first HC is greater than a predefined hop count threshold, the device discards the NAN Signal frame, and if the NAN Signal frame is discarded, another step described subsequently does not need to be performed.
[00169] When the first HC is greater than the predefined hop count threshold, the NAN Signal frame received by the device is an invalid frame, and the device can discard the NAN Signal frame.
[00170] 303. If the NAN Signal frame is used for AM selection, when the first AMR is less than the second AMR, and a device MR is greater than the first AMR, the device switches an assignment from the device to AM.
[00171] 304. If the NAN signaling frame is used for AM selection, when the first AMR is less than the second AMR, and the device's MR is less than the first AMR, the device updates, according to the NAN Signaling board, second AM information and second TSF information that are registered on the device.
[00172] 305. If the NAN Signal frame is used for AM selection, when the first AMR is greater than the second AMR, the device updates, according to the NAN Signal frame, the second AM information and the second TSF information that is registered on the device.
[00173] It should be noted that the same action is performed by the device in step 304 and in step 305, that is, the second AM information and the second TSF information that are registered on the device are updated according to the Signaling table of NAN, but the conditions for performing the action by the device are different in step 304 and in step 305.
[00174] 306. If the NAN Signaling frame is used for AM selection, when the first AMR is equal to the second AMR, and a first AMBTT is greater than a second AMBTT, the device updates, according to the NAN signaling, the second TSF information and some information or all the information of the second AM information that is registered in the device.
[00175] There are two cases in which the device needs to update, according to the NAN Signaling table, the information registered on the device: A first case is that the second TSF information and some information of the second AM information are updated; a second case is that the second TSF information and all the information of the second AM information are updated.
[00176] Specifically, in step 306, the fact that the device updates, according to the NAN Signaling framework, the second TSF information and some information or all the information of the second AM information that is registered on the device can specifically include the following steps: update, by the device, the value of the second HC to the value of the first HC plus 1; if the NAN Signaling frame is sent by the AM, update, by the device, the second AMBTT value to a value of a predefined byte / predefined bytes of first TSF information; or if the NAN Signaling frame is not sent by the AM, update, by the device, the second AMBTT value for the first AMBTT; and updating, by the device, a value of the second TSF information to a value of the first TSF information.
[00177] In addition, in some other modalities of the present invention, in step 306, the fact that the device updates, according to the NAN Signaling framework, the second TSF information and some information or all the information of the second information of AM that are registered on the device can specifically include the following steps: update, by the device, the second AMR value to the first AMR value; update, by the device, the value of the second HC to the value of the first HC plus 1; if the NAN signaling frame is sent by AM, update, by the device, the second AMBTT value to the value of the predefined byte / predefined bytes of the first TSF information; or if the NAN Signaling frame is not sent by the AM, update, by the device, the second AMBTT value for the first AMBTT; and updating, by the device, the value of the second TSF information to the value of the first TSF information.
[00178] It should be noted that a difference between the two ways of implantation lies in whether or not the second AMR value registered on the device needs to be updated. Specifically, one of the two deployment modes can be selected according to an application scenario.
[00179] 307. If the NAN signaling frame is used for AM selection, when the first AMR is equal to the second AMR, and when the first AMBTT is equal to the second AMBTT, and the first HC is less than a second HC minus 1, the device updates, according to the NAN Signaling frame, the second TSF information and some information or all the information of the second AM information that is registered on the device.
[00180] There are two cases in which the device needs to update, according to the NAN Signaling table, the information registered on the device: A first case is that the second TSF information and some information of the second AM information are updated; a second case is that the second TSF information and all the information of the second AM information are updated.
[00181] Specifically, in step 307, the fact that the device updates, according to the NAN Signaling frame, the second TSF information and some information or all the information of the second AM information that is registered in the device can specifically include the following steps: update, by the device, the value of the second HC to the value of the first HC plus 1; and updating, by the device, the value of the second TSF information to the value of the first TSF information.
[00182] In addition, in some other modalities of the present invention, in step 307, the fact that the device updates, according to the NAN Signaling framework, the second TSF information and some information or all the information of the second information of AM that are registered on the device can specifically include the following steps: update, by the device, the second AMR value to the first AMR value; update, by the device, the value of the second HC to the value of the first HC plus 1; if the NAN signaling frame is sent by AM, update, by the device, the second AMBTT value to the value of the predefined byte / predefined bytes of the first TSF information; or if the NAN Signaling frame is not sent by the AM, update, by the device, the second AMBTT value for the first AMBTT; and updating, by the device, the value of the second TSF information to the value of the first TSF information.
[00183] It should be noted that a difference between the two ways of implantation lies in whether or not the second AMR value and the second AMBTT value that are registered on the device need to be updated. Specifically, one of the two deployment modes can be selected according to an application scenario.
[00184] It should be noted that, in some embodiments of the present invention, one or more steps from step 302, and from step 305 to step 307 can be performed specifically. For a specific execution situation, reference needs to be made as to whether or not a condition required at each stage is met, which is described only in an exemplary way in this modality in this document.
[00185] It can be learned, by using the aforementioned description about this modality of the present invention, that after a device receives a NAN Signaling frame, if the NAN Signaling frame is used for AM selection, when a first AMR included in the NAN Signaling frame is less than a second AMR registered on the device, and a device MR is greater than the first AMR, the device switches an assignment from the device to AM; or if the NAN Signal frame is used for AM selection, when the first AMR included in the NAN Signal frame is less than the second AMR recorded on the device, and a device MR is less than or equal to the first AMR, the device updates, according to the NAN Signaling frame, second AM information and second TSF information that are registered on the device. In a case where the NAN Signaling frame received by the device can be used for AM selection, when the first AMR is less than the second AMR, and the device's MR is greater than the first AMR, the device assignment is switched to AM, and the device whose assignment is switched to AM can overwrite an original AM in a NAN cluster, and therefore an original AMR in the NAN cluster is also overwritten; even if an AM RM becomes smaller, a new AM is selected quickly. Therefore, there is always an AM in the NAN cluster, and each device can record correct AM information, which prevents a malfunction of the entire NAN cluster, and ensures that time synchronization between devices can be implemented. When the MR value of the device is insufficient to make the device an AM, that is, when the first AMR is less than the second AMR recorded on the device, and the device's MR is less than or equal to the first AMR, the device can update, according to the NAN Signaling table, the second AM information and the second TSF information that are registered on the device, and therefore the second AMR registered on the device is also updated, and the original AMR in the cluster of NAN is also overwritten; even if the MR of the AM becomes smaller, a new AM can be selected quickly. Therefore, there is always an AM in the NAN cluster, and each device can record correct AM information, which prevents a malfunction of the entire NAN cluster and ensures that time synchronization between devices can be implemented.
[00186] With reference to Figure 4, a method for selecting the master anchor provided in another embodiment of the present invention can specifically include the following steps:
[00187] 401. A device receives a NAN Signaling frame.
[00188] The NAN Signaling frame carries first AM information and first TSF information, where the first AM information includes: a first AMR, a first HC, and a first AMBTT.
[00189] In this embodiment of the present invention, after the device receives the NAN Signaling frame, the device can determine, according to the AM information carried in the NAN Signaling frame, whether or not the NAN Signaling frame can be used for AM selection. For a case where the NAN Signaling frame can be used for AM selection, subsequent steps can continue to be performed, for example, the execution of step 402 and step 403 is triggered separately.
[00190] It should be noted that in this embodiment of the present invention, in a case where the device determines that the NAN Signaling frame is not used for AM selection, the device can ignore the first AM information carried in the Signaling frame of NAN. In a case where the device determines that the NAN Signaling frame is used for AM selection, the device must additionally determine a value relationship between the first HC and a second HC. There are three results for determining, by the device, whether or not the first HC is less than the second HC: (1) The first HC is greater than or equal to the second HC. (2) The first HC is equal to the second HC minus 1. (3) The first HC is less than the second HC minus 1. The device has yet to determine a value relationship between the first AMBTT and a second AMBTT, and there are three results for the determination, by the device, of the value relation between the first AMBTT and the second AMBTT: (1) The first AMBTT is larger than the second AMBTT. (2) The first AMBTT is the same as the second AMBTT. (3) The first AMBTT is smaller than the second AMBTT. Steps 404, 405, and 406 are respectively performed subsequently according to a difference in each determining result.
[00191] In some other embodiments of the present invention, the device can further determine whether or not a difference obtained by subtracting the second AMBTT recorded on the device from a value of second TSF information is greater than a predefined transmission time threshold, and determines , according to a determining result, whether or not to perform the following step:
[00192] When the difference obtained by subtracting the second AMBTT from the value of the second TSF information is greater than the predefined transmission time threshold, switch, by the device, a device assignment to AM.
[00193] In addition, switching a device assignment to AM by the device may specifically include the following steps: updating, by the device, a second AMR value to a device MR value; update, by the device, the value of the second HC to 0; and updating, by the device, the second AMBTT value to a value of a predefined byte / predefined bytes of the second TSF information.
[00194] When the MR of the device is updated, step 407 and step 408 can be performed respectively according to whether or not the device itself is an AM and a difference of determining, by the device, whether or not an updated MR is greater than the registered AMR.
[00195] 402. If the NAN Signal frame is used for AM selection, when a first AMR is less than a second AMR, and a device MR is greater than the first AMR, the device switches an assignment from the device to AM.
[00196] 403. If the NAN Signal frame is used for AM selection, when the first AMR is less than the second AMR, and the device's MR is less than the first AMR, the device updates, according to the NAN Signaling board, second AM information and second TSF information that are registered on the device.
[00197] 404. If the NAN Signaling frame is used for AM selection, when the first AMR is equal to the second AMR, and a first HC is greater than or equal to a second HC, the device ignores the first information of AM ported on the NAN Signal board.
[00198] 405. If the NAN Signal frame is used for AM selection, and the NAN Signal frame is not sent by the AM, when the first AMR is equal to the second AMR, the first HC is equal to the second HC minus 1, and a first AMBTT is greater than a second AMBTT, the device updates the second AMBTT value to the first AMBTT, and the device updates a value from the second TSF information to a value from the first TSF information.
[00199] In addition, in some other embodiments of the present invention, step 405 can additionally be replaced by the following step:
[00200] If the NAN Signal frame is used for AM selection, and the NAN Signal frame is sent by an AM, when the first AMR is equal to the second AMR, the first HC is equal to the second HC minus 1 , and a value of a predefined byte / predefined bytes of the first TSF information is greater than the second AMBTT, the device updates the second AMBTT value to the first AMBTT, and the device updates the value of the second TSF information to the value of the first TSF information.
[00201] 406. If the NAN Signal frame is used for AM selection, when the first AMR is equal to the second AMR, and the first HC is less than the second HC minus 1, if the NAN Signal frame is sent by an AM, the device updates the second AMBTT value to the default byte / predefined bytes value of the first TSF information; or if the NAN Signaling frame is not sent by an AM, the device updates the second AMBTT value to the first AMBTT, the device updates the value of the second TSF information to the value of the first TSF information, and the device updates the value of the second HC to the value of the first HC plus 1.
[00202] 407. When the device is not an AM, and the device RM is updated, when an updated device MR is greater than the second AMR, the device switches the device assignment to AM.
[00203] 408. When the device is an AM, and when the device's MR is updated, the device maintains an AM assignment, and the device updates the second registered AMR to an updated device MR value.
[00204] It should be noted that the same action is performed by the device in the aforementioned steps 402 and 407, that is, the device switches the device assignment to AM, but the conditions for performing the action by the device in steps 402 and 407 are different . In this case, the fact that the device switches the device assignment to AM may specifically include the following steps: updating, by the device, the second AMR value to the device's MR value; update, by the device, the value of the second HC to 0; and updating, by the device, the second AMBTT value to the value of the predefined byte / predefined bytes of the second TSF information.
[00205] It should be noted that in some embodiments of the present invention, one or more steps from step 404 to step 408 can be performed specifically. For a specific execution situation, reference needs to be made as to whether or not a condition required at each stage is met, which is described only in an exemplary manner in this modality in this document.
[00206] It can be learned, by using the aforementioned description about this modality of the present invention, that after a device receives a NAN Signaling frame, if the NAN Signaling frame is used for AM selection, when a first AMR included in the NAN Signaling frame is less than a second AMR registered on the device, and a device MR is greater than the first AMR, the device switches an assignment from the device to AM; or if the NAN Signal frame is used for AM selection, when the first AMR included in the NAN Signal frame is less than the second AMR recorded on the device, and a device MR is less than or equal to the first AMR, the device updates, according to the NAN Signaling frame, second AM information and second TSF information that are registered on the device. In a case where the NAN Signaling frame received by the device can be used for AM selection, when the first AMR is less than the second AMR, and the device's MR is greater than the first AMR, the device assignment is switched to AM, and the device whose assignment is switched to AM can overwrite an original AM in a NAN cluster, and therefore an original AMR in the NAN cluster is also overwritten; even if an AM MR becomes smaller, a new AM is selected quickly. Therefore, there is always an AM in the NAN cluster, and each device can record correct AM information, which prevents a malfunction of the entire NAN cluster, and ensures that time synchronization between devices can be implemented. When the MR value of the device is insufficient to make the device an AM, that is, when the first AMR is less than the second AMR recorded on the device, and the device's MR is less than or equal to the first AMR, the device can update, according to the NAN Signaling table, the second AM information and the second TSF information that are registered on the device, and therefore the second AMR registered on the device is also updated, and the original AMR in the cluster of NAN is also overwritten; even if the MR of the AM becomes smaller, a new AM can be selected quickly. Therefore, there is always an AM in the NAN cluster, and each device can record correct AM information, which prevents a malfunction of the entire NAN cluster and ensures that time synchronization between devices can be implemented.
[00207] To better understand and implement the aforementioned solutions in this modality of the present invention, a corresponding application scenario is used as an example for the detailed description below.
[00208] A practical application scenario is used below to describe a common method for selecting AM and the method for selecting AM provided in this embodiment of the present invention, in order to prove an advantage of the method provided in that embodiment of the present invention in preventing a breakdown of an entire NAN cluster and ensuring that time synchronization between devices is implemented.
[00209] It should be noted that as described in the modality below, a Sync Signal frame is used as an example for description, rx *** is used to represent a ported value in the Sync Signal frame received by a device, and my *** is used to represent a value of the device itself or a value recorded on the device.
[00210] In a current NAN specification outline, a method for performing AM selection is defined in general for each NAN device:
[00211] When a device receives a Sync Signaling frame, and when an rxHC of the Sync Signaling frame does not exceed a predefined hop count threshold, the device performs processing according to the following algorithm; and if the rxHC exceeds the predefined hop count threshold, the Sync Signal frame is discarded. A common algorithm is described as follows: if a registered AMR value is higher than an AMR value carried in the Sync Signal frame, discard the AM information carried in the Sync Signal frame; and if the AMR value registered is lower than the AMR value carried in the Sync Signaling frame, use, by the NAN device, the AMR, an HC plus 1, and an AMBTT that are in the Sync Signaling frame as values registered in a record of AM information of the device, that is, perform the following steps: update myAMR: myAMR = rxAMR, the device replaces the AMR value registered on the device with the AMR value ported in the Sync Signaling frame; update myHC: myHC = rxHC + 1; update myAMBTT: myAMBTT = rxAMBTT; and update myTSF: myTSF = rxTSF, that is, the device replaces a value of a TSF registered on the device with a value of a Time Stamp field ported in the Sync Signal frame.
[00212] If the registered AMR value is equal to the AMR value in the Sync Signaling frame, the NAN device compares an HC registered on the device with an HC in the Sync Signaling frame according to the following rules:
[00213] If the HC value in the Sync Signaling frame is greater than or equal to the registered HC, the NAN device ignores the AM information in the Sync Signaling frame; if the HC value in the Sync Signal frame is equal to the registered HC minus 1 and the AMBTT value in the Sync Signal frame is greater than an AMBTT value in the registered AM information, the NAN device uses the AMBTT value in the Sync Signaling box the AMBTT value registered on the device; and if the HC value in the Sync Signaling frame is less than the registered HC minus 1, the NAN device uses HC plus 1 in the Sync Signaling frame as the HC value registered in the device, and updates the AMBTT in a record AM information of the NAN device according to the following rules: if the received Sync Signaling frame is sent by an AM, the AMBTT in the current registered AM information is set to a value of four bytes lower than a Stamp field Time in the Sync Signaling frame received; and if the received Sync Signal frame is from a Master NAN or Non-Master Sync device, the AMBTT in the current registered AM information is set to a corresponding value of a NAN Cluster Attribute in the received Sync Signal frame .
[00214] According to the common implantation method described above, a case that occurs when an MR value of an AM becomes smaller is described by using an example below.
[00215] As shown in Figure 5-a, Figure 5-a is a schematic diagram of a process of updating AM information recorded on each device according to an embodiment of the present invention. As shown in Figure 5-a, Figure 5-a is a schematic diagram of a process of updating AM information recorded on each device according to an embodiment of the present invention.
[00216] It is assumed that the initial MRs of four NAN devices A, B, C, and D are respectively 10, 6, 3, and 8, and therefore A is an AM. Two neighboring nodes can listen to each other and obtain a frame of Sync Signaling, that is, A can receive a Frame of Sync Signaling sent by B, B can receive a Frame of Sync Signaling sent by A or C, C can receive a Sync Signal frame sent by B or D, and D can receive a Sync Signal frame sent by C.
[00217] Each device in a cluster of NAN maintains an AM_timer variable, which represents a period of validity of a current AMBTT. Each time the AMBTT is updated, an AM_timer value is reset to 16, which means that the validity period is 16 DWs. The AM_timer maintained in a Derive performs counting by subtraction, and when the AM_timer is decreased to 0, the device becomes an AM, where both the AM_timer update and MR subtraction by 1 is assumed to occur when a DW starts.
[00218] It is assumed that an MR of A is changed from 10 to 7 at a specific time; in this case, an actual AM on the NAN network is device D. In this case, device A still defines device A itself in an AM, changes an AMR to 7, and then sends a Sync Signaling frame. After receiving the Sync Signaling frame, since the AMR in it is 7, which is less than 10 registered in B, B does not update an AMR. Then, B sends a Sync Signaling frame, and after receiving the Sync Signaling frame, A finds that the AMR in the Sync Signaling frame is 10, which is greater than 7 registered in A. Therefore, A updates its state itself according to the Sync Signaling table, that is, A defines the AMR registered in A at 10, and defines an HC at 2. In this case, AMRs maintained at A and B are both 10, and HCs maintained at A and B are 2 and 1 respectively; and C and D remain unchanged.
[00219] After 15 DWs, devices B, C, and D change themselves to AMs because the AM_timer is changed to 0 (where the maintained AMRs are changed to their own MRs respectively, and HCs are 0), and subsequently send Sync Signaling frames. Also sends a Sync Signaling frame. According to a received Sync Signaling frame, each device updates its own state according to the aforementioned algorithm. In this case, AMRs recorded in A and B are 10, and HCs are 2 and 3 respectively; and AMRs maintained in C and D are 8. In a subsequent DW, C receives a Sync Signaling frame from B. Since an AMR (= 10) of B is greater than an AMR (= 8) of C, of according to the aforementioned algorithm, C updates a state according to the table, where the registered AMR is changed to 10, and an HC is changed to 4; and after another DW, D receives a Sync signaling frame from C. Similarly, D updates its own state according to the frame, where the registered AMR is changed to 10, and an HC is changed to 5. Up to this point, the AMRs maintained in the four devices are all 10, but the HCs are respectively 4, 3, 4, and 5. Subsequently, the aforementioned process is repeated. In this process, the AMRs recorded on most devices on the network are 10, but the HCs continually increase until a device RM is changed to a value greater than 10. For example, if a C RM is changed to 15, then for several DWs, AMRs for all devices on the network are changed to 15, and HCs also increase with C as a center. In the aforementioned process, an AMR value registered on a device on the NAN network only becomes greater, even if a device whose MR is this value does not exist, there is always an old AMR value on the NAN network and cannot be removed, and a registered HC value becomes higher. According to the aforementioned content, when an HC in a received Sync Signal frame exceeds a threshold, the Sync Signal frame is discarded. This means that, over time, HCs become larger, and devices in the entire NAN cluster discard received Sync Signaling frames because HCs exceed the threshold, and at the same time, because an AM is lost in the cluster of NAN, the entire NAN grouping falls apart, and as a result, time synchronization between devices cannot be implemented.
[00220] The method for selecting the master anchor provided in this embodiment of the present invention is described by using an example below.
[00221] It should be noted that, as described in the modality below, a Sync Signal frame is used as an example for description, rx *** is used to represent a ported value in the Sync Signal frame received by a device , and my *** is used to represent a value of the device itself or a value registered on the device.
[00222] In this embodiment of the present invention, the method for performing AM selection is defined as follows: when an RM of a non-AM is updated, and a new RM is greater than an AMR registered in the non-AM, the non-AM itself if you take an AM: myAMR = myMR, myHC = 0, and myAMBTT = 0; and when an AM device RM is changed, an AM identity is maintained, but the registered AMR is changed to an updated value; when myAMBTT that exceeds a predefined transmission time threshold (which is presently specified as 16 DWs) is not updated, the device itself becomes an AM: myAMR = myMR, myHC = 0, and myAMBTT = 0; and if a rxHC hop count value carried on the Sync Signal frame exceeds a predefined hop count threshold, the frame is discarded, where the received Sync Signal frame is not used for AM selection mainly includes the following cases :
[00223] (1) if the device is an AM, and in the Sync Signaling frame received rxAMR <myAMR, the Sync Signaling frame is not used for AM selection.
[00224] (2) Within a predefined period of time after an AMR registered on the device is changed (an AMR before the update is indicated as OldAMR), if the rxAMR in the Sync Signal frame received is equal to the device's OldAMR, or when rxAMR <myAMR, the Sync Signal frame is not used for AM selection.
[00225] A Sync Signaling frame that does not meet any of the above conditions can be used for AM selection.
[00226] In this modality of the present invention, when the received Sync Signaling frame can be used for AM selection, the master anchor selection can be implemented using the following algorithm: if rxAMR> myAMR Update myAMR & myHC & TSF &myAMBTT; otherwise rxAMR == myAMR if rxAMBTT> myAMBTT Update myHC & TSF &myAMBTT; otherwise rxAMBTT == myAMBTT if rxHC <myHC - 1 Update myHC &TSF; end end if not rxAMR> = myMR Update myAMR & myHC & TSF &myAMBTT; otherwise myAMR = myMR; myHC = 0; myAMBTT = 0; end end
[00227] According to the method for selecting the master anchor described in the aforementioned modality and provided in the present invention and, a case that occurs when an MR value of an AM becomes smaller is described by using an example below.
[00228] As shown in Figure 5-b, Figure 5-b is a schematic diagram of a process of updating AM information recorded on each device according to an embodiment of the present invention. Initial MRs of four NAN devices A, B, C, and D are assumed to be 10, 6, 8, and 9, respectively, and therefore A is an AM. Two neighboring nodes can listen to each other and obtain a frame of Sync Signaling, that is, A can receive a Frame of Sync Signaling sent by B, B can receive a Frame of Sync Signaling sent by A or C, C can receive a Sync Signal frame sent by B or D, and D can receive a Sync Signal frame sent by C.
[00229] In Figure 5-b, an initial condition of the four devices A, B, C, and D is similar to that in Figure 5-a, that is, A is an AM. It is assumed that an MR of A is changed from 10 to 7 at a specific time, and therefore an AMR of A is also changed to 7. If a Sync signaling frame from A is sent earlier than that from B , when the frame is received by B, according to the algorithm provided in this modality of the present invention, an MR (= 6) of B is less than an rxAMR (= 7) of A, and therefore B performs the update of according to a state of A, where a new AMR is 7, and an HC is 1; and if a Sync Signaling frame from B is sent earlier than that from A, when A receives the frame, since an rxAMR (= 10) is the same as an OldAMR (= 10) from A, the frame will not is used for AM selection. This prevents an old AMR from overwriting a new AMR.
[00230] Subsequently, the Sync Signaling frame sent by B is received by C, according to the algorithm provided in this modality of the present invention, C becomes an AM. C continues to send a Sync Signaling frame, which is received by B and D; according to the algorithm provided in that embodiment of the present invention, D becomes an AM, and B updates a state according to the Sync Signaling frame sent by C. Subsequently, D sends a Sync Signaling frame; once an AMR (= 9) of D is greater, a state of D is received by C and is sent in a Sync Signaling frame on a next DW until the update of all nodes in the entire NAN network is completed.
[00231] In this embodiment of the present invention, in a predefined period of time after an AMR registered on a device is changed (an AMR before the update is registered as OldAMR), if an rxAMR in the received Sync Signaling frame is equal to an OldAMR of the device, or when rxAMR <myAMR, the Sync Signal frame is not used for AM selection. Therefore, two variables need to be kept within each device: OldAMR and OldAMR_timer. The first records the AMR value before the update, and the last is a timer. Each time the AMR registered on the device is changed, the timer is reset to a predefined value (for example, N DW / DWs), and then performs subtraction timing until the timer is changed to 0.
[00232] A selection result from an AM selection execution process is carried on a Sync Signaling frame sent by a NAN device in a sinc state, and in principle, each device has an equal opportunity to enter a state sinc; therefore, an AM selection algorithm within a device can be indirectly learned by creating a corresponding condition and detecting a Sync Signaling frame sent by the device, and, therefore, an AM selection algorithm described in this modality of present invention is detectable.
[00233] The common AM selection algorithm (hereinafter referred to as an original solution) and an AM selection algorithm provided in that embodiment of the present invention (hereinafter referred to as a new solution) are described separately in the aforementioned examples, and a comparison by simulation is performed between the original solution and the new solution in the following section, in order to describe an advantage of the new solution.
[00234] 1. Simulation assumptions
[00235] A simulation area is a circular area whose radius is 500 m, and 253 NAN devices are uniformly distributed in that area. A device's transmission power is 20 dBm, and a channel attenuation model is (L represents a loss of trajectory):

[00236] It is assumed that the communication bandwidth is 20 MHz, the receiver sensitivity of the device is -92 dBm, a noise power is -96 dBm, and a reception threshold is SINR> 0dBm; this can be achieved by calculating according to the aforementioned formula, that a communication range of the device is approximately 250m.
[00237] In a simulation of the new solution, a restart value of OldAMR_timer is 5 DWs.
[00238] A simulation time is 1,000 DWs, and a clock offset is U (-25, 25) ppm, where U represents uniform distribution. Both the MR update and the AM_timer subtraction count occur when a DW starts. All simulation diagrams are observed outside a DW.
[00239] 2. Performance comparison
[00240] 2.1 AMR recorded on device
[00241] A larger RM in an entire NAN cluster varies with a RM of a device, and therefore an AMR recorded on each device must also vary accordingly. Referring to Figure 6-a and Figure 6-b, Figure 6-a and Figure 6-b are schematic diagrams for collecting statistics for an AMR value respectively in a common method for selecting AM and in a method for selecting AM according to an embodiment of the present invention. In Figure 6-a and Figure 6-b, a horizontal coordinate is a discovery window index (DW index), and a vertical coordinate is a master anchor category (Master Anchor Category) on a NAN device (device). It can be learned by comparing an AMR registered on each device in the original solution with that in the new solution, which obviously the original solution causes different AMRs registered on devices on a NAN network, and the new solution is relatively "clean", and a AMR recorded on each device is the same value in most cases, which can ensure that time synchronization between devices is implemented.
[00242] Furthermore, Figure 6-c is obtained by enlarging an upper part of Figure 6-a, and Figure 6-d is obtained by enlarging an upper part of Figure 6-b. In Figure 6-c and Figure 6-d, a horizontal coordinate is a discovery window index (DW index), and a vertical coordinate is a master anchor category (Master Anchor Category) on a NAN device (device). It can be seen, by comparing the two figures in Figure 6-c and Figure 6-d, that an AMR recorded on a device in the original solution changes once after a relatively long time, but an AMR recorded on a device in the new solution solution changes more often. With reference to Figure 6-e, Figure 6-e is a schematic diagram of collecting statistics related to a larger RM in a NAN network in a common method for selecting BF. As shown in Figure 6-f, Figure 6-f is a schematic diagram of collecting statistics related to a larger RM in a NAN network in a method for selecting AM according to one embodiment of the present invention. In Figure 6-e and Figure 6-f, a horizontal coordinate is a discovery window index (DW index), and the vertical coordinate is a larger master category (Master Max Category) on a NAN device (device). It can be seen, with reference to the state of variation of the largest MRs in the NAN networks in Figure 6- and and in Figure 6-f, that the AMR recorded in the device in the new solution is basically consistent with a major MR change in the NAN network, but the AMR recorded on the device in the original solution cannot follow a major MR change in the NAN network.
[00243] 2.2. Number of AMs in NAN network
[00244] The original solution and the new solution result in a difference in the amount of AMs in the network. As shown in Figure 6-g, Figure 6-g is a schematic diagram of collecting statistics related to the number of AMs in a NAN network in a common method for selecting AM. As shown in Figure 6-h, Figure 6-h is a schematic diagram of collecting statistics relating to the number of AMs in a NAN network in a method for selecting AM according to one embodiment of the present invention. In Figure 6-g and Figure 6-h, the horizontal coordinate is a discovery window index (DW index), and a vertical coordinate is the number of master anchors (the number of Master Anchors). In the original solution, there is no AM or two AMs on the network most of the time; however, in the new solution, only one AM is maintained on the network in most cases. An AM is defined as a Master with a larger MR, and is a reference for synchronizing the NAN network. In general, there is only one. Therefore, a result of the new solution better satisfies a design objective.
[00245] 2.3. Device HC
[00246] An HC of a device on a NAN network is shown separately in Figure 6-i and Figure 6-j when the original solution and the new solution are applied. As shown in Figure 6-i, Figure 6-i is a schematic diagram of collecting statistics related to an HC in a NAN network in a common method for selecting AM. As shown in Figure 6-j, Figure 6-j is a schematic diagram of collecting statistics related to an HC in a NAN network in a method for selecting AM according to an embodiment of the present invention. In Figure 6-i and Figure 6-j, a horizontal coordinate is a discovery window index (DW index), and a vertical coordinate is a hop count (Hop Count). In the new solution, an HC in the network is always relatively small, and a larger HC does not exceed 8; however, in the original solution, when no larger MR appears, the HC of the device increases continuously, and a case in which HC = 23 ends up occurring. Once a Sync Signaling frame in which an HC exceeds a specific threshold is discarded, even if a very small network scale is projected, an oversized HC results in a failure of the NAN network.
[00247] It should be noted that, in the original solution, an HC suddenly decreases after increasing to a specific value, and this change is not caused by the occurrence of a device with a greater MR in the NAN network. Then, that the fact that HC does not get bigger is analyzed below, and one reason why HC does not get bigger is that a setback value (unit: time interval) of sending a Sync signaling frame is specified as follows:

[00248] That is, the indentation time is related to HC. A larger HC, a greater recoil value and subsequent sending of a Sync Signaling frame. Another device additionally needs to send a service discovery frame, which takes up a specific amount of time, but a DW has only 16 Tus. Therefore, when the HC increases to a specific degree, the backoffer_timer is very large, which means that a Sync Signal frame is not sent to the DW for a while. Therefore, after waiting for 16 DWs, NAN devices set themselves in AMs in succession, and HCs are set to 0 again. In fact, in this case, the original network is broken, and the NAN grouping is re-established between devices. Therefore, this is one reason why the AMR recorded on the device suddenly follows the change in the major MR once after a relatively long time in the original solution in Figure 6-c.
[00249] 2.4. TSF synchronization
[00250] As shown in Figure 6-k, Figure 6-k is a schematic diagram of collecting statistics related to a change of a TSF in a NAN network in a common method for selecting AM. As shown in Figure 6-I, Figure 6-I is a schematic diagram of collecting statistics related to a change of a TSF in a NAN network in a method for selecting AM according to one embodiment of the present invention. In Figure 6-k and Figure 6-I, a horizontal coordinate is a time t, which is in units of ps (ps), and a vertical coordinate is a Time Synchronization Function Shift (Time Synchronization Function Shift) ), which is in the ps (ps) unit. In the original solution, once an actual AM is lost, each device acts in its own way, and over time, there is an obvious difference between device TSFs; however, in the new solution, since all devices can update AM information in time, and always maintain time synchronization with an AM, a difference between device TSFs is very small, and the time synchronization between devices can be well implanted. Obviously, a TSF synchronization capability of the new solution is much better than that of the original solution.
[00251] It can be learned, by using the aforementioned description about this modality of the present invention, that after a device receives a NAN Signaling frame, if the NAN Signaling frame is used for AM selection, when a first AMR included in the NAN Signaling frame is less than a second AMR registered on the device, and a device MR is greater than the first AMR, the device switches an assignment from the device to AM; or if the NAN Signal frame is used for AM selection, when the first AMR included in the NAN Signal frame is less than the second AMR recorded on the device, and an MR of the device is less than the first AMR, the device updates, according to the NAN Signaling table, second AM information and second TSF information that are registered on the device. In a case where the NAN Signaling frame received by the device can be used for AM selection, when the first AMR is less than the second AMR, and the device's MR is greater than the first AMR, the device assignment is switched to AM, and the device whose assignment is switched to AM can overwrite an original AM in a NAN cluster, and therefore an original AMR in the NAN cluster is also overwritten; even if an AM RM becomes smaller, a new AM is selected quickly. Therefore, there is always an AM in the NAN cluster, and each device can record correct AM information, which prevents a malfunction of the entire NAN cluster, and ensures that time synchronization between devices can be implemented. When the device's MR value is insufficient to make the device an AM, that is, when the first AMR is less than the second AMR recorded on the device, and the device's MR is less than the first AMR, the device can update, according to the NAN Signaling table, the second AM information and the second TSF information that are registered on the device, and therefore the second AMR registered on the device is also updated, and the original AMR in the NAN cluster is also updated. is overwritten; even if the MR of the AM becomes smaller, the new AM can be selected quickly. Therefore, there is always an AM in the NAN cluster, and each device can record the correct AM information, which prevents a malfunction of the entire NAN cluster and ensures that time synchronization between devices can be implemented.
[00252] It should be noted that, for a brief description, the aforementioned method modalities are represented as a series of actions. However, a person skilled in the art should note that the present invention is not limited to the order of actions described, because according to the present invention, some steps can be performed in other orders or simultaneously. In addition, a person skilled in the art must also understand that all of the modalities described in this specification belong to exemplary modalities, and the actions and modules involved may not necessarily be mandatory for the present invention.
[00253] To better implement the aforementioned solutions in this modality of the present invention, a relevant device configured to implant the aforementioned solutions is provided below.
[00254] With reference to Figure 7-a, a master anchor selection device 700 provided in a mode of the present invention may include: a signaling frame reception module 701, an assignment switch module 702, and a signal module updating information 703.
[00255] The signaling frame reception module 701 is configured to receive a neighboring network signaling, NAN signaling frame, where the NAN signaling frame carries first AM information and first synchronization function information time, and the first AM information includes: a first AMR master anchor category, a first HC hop count, and a first AMBTT master anchor signal transmission time.
[00256] The assignment switch module 702 is configured for: if the NAN Signaling frame is used for AM selection, when the first AMR is less than a second AMR, and a master MR category of the device is greater than the first AMR, switch a device assignment to AM, where the device records second AM information, and the second AM information includes: the second AMR, a second HC, and a second AMBTT.
[00257] The 703 information update module is configured for: if the NAN Signaling frame is used for AM selection, when the first AMR is less than the second AMR, and the device's MR is less than the first AMR , update, according to the NAN Signaling table, the second AM information and the second TSF information that are registered on the device.
[00258] In some embodiments of the present invention, the assignment switch module 702 is additionally configured for: if the NAN Signaling frame is used for AM selection, when the first AMR is less than the second AMR, and the MR of the device is the same as the first AMR, switch the device assignment to AM; or the information update module 703 is additionally configured for: if the NAN Signaling frame is used for AM selection, when the first AMR is less than the second AMR, and the device MR is equal to the first AMR, update , according to the NAN Signaling table, the second AM information and the second TSF information that are registered on the device.
[00259] With reference to Figure 7-b, in some embodiments of the present invention, the device 700 for master anchor selection can additionally include: a trigger module execution 704, configured for: if the first HC is less than or equal to hop count threshold, trigger the assignment switch module 702 to perform the device assignment switching step to AM, or trigger the information update module 703 to perform the update step, according to the Signaling table NAN, the second AM information and the second TSF information that are registered on the device.
[00260] As shown in Figure 7-b, in some other embodiments of the present invention, the master anchor selection device 700 may additionally include: a 705 signaling frame disposal module, configured for: if the first HC is greater than the predefined hop count threshold, discard the NAN Signaling frame.
[00261] With reference to Figure 7-c, in some embodiments of the present invention, in comparison with the master anchor selection device 700 shown in Figure 7-a, when the device 700 is an AM, the device 700 for selecting the anchor master anchor may additionally include: a first AM 706 selection determination module, configured to determine, in the following ways, whether or not the NAN Signaling frame is used for AM selection: whether the first AMR is less than the second AMR, determine that the NAN Signaling frame is not used for AM selection; if the first AMR is greater than or equal to the second AMR, and if the first AMR is equal to a third AMR within a predefined time period after the start of the second AMR update, determine that the NAN Signaling frame is not used for AM selection, where the third AMR is an AMR before the second AMR on the device is updated; and if the NAN Signaling frame does not meet a first condition, determine that the NAN Signaling frame is used for AM selection, where the first condition is as follows: the first AMR is less than the second AMR, or first AMR is equal to the third AMR within the predefined time period.
[00262] With reference to Figure 7-d, in some embodiments of the present invention, in comparison with the master anchor selection device 700 shown in Figure 7-a, when device 700 is an AM, device 700 for selection of anchor master anchor can additionally include: a second AM 707 selection determination module, configured to determine, in the following ways, whether or not the NAN Signaling frame is used for AM selection: whether the first AMR is less than the second AMR, determine that the NAN Signaling frame is not used for AM selection; if the first AMR is greater than or equal to the second AMR, when the second AMR on the device is updated, if the first AMBTT is less than the second AMBTT within a predefined period of time after the start of the second AMR update, determine that the NAN Signal board is not used for AM selection; and if the NAN Signaling frame does not meet a second condition, determine that the NAN Signaling frame is used for AM selection, where the first condition is as follows: the second AMR is less than the second AMR, or the first AMBTT is less than the second AMBTT within the predefined time period.
[00263] With reference to Figure 7-e, in some embodiments of the present invention, in comparison with the master anchor selection device 700 shown in Figure 7-a, when the device 700 is not an AM, the device 700 for selection master anchor can additionally include: a third AM 708 selection determination module, configured to determine, in the following ways, whether or not the NAN Signaling frame is used for AM selection: when the second AMR on the device is updated, if the first AMR is less than the second AMR within a predefined period of time after the start of the second AMR update, determine that the NAN Signal frame is not used for AM selection; if the first AMR is equal to a third AMR within the predefined time period, determine that the NAN Signaling frame is not used for AM selection, where the third AMR is an AMR before the second AMR on the device is updated; and if the NAN Signaling frame does not meet a third condition, determine that the NAN Signaling frame is used for AM selection, where the third condition is as follows: the first AMR is less than the second AMR within the period preset time, or the first AMR is the same as the third AMR within the preset time period.
[00264] With reference to Figure 7-f, in some embodiments of the present invention, compared to the master anchor selection device 700 shown in Figure 7-a, when device 700 is not an AM, device 700 for selection master anchor can additionally include: a fourth AM 709 selection determination module, configured to determine, in the following ways, whether or not the NAN Signaling frame is used for AM selection: whether the first AMR is less than the second AMR within a predefined period of time after the start of the second AMR update, determine that the NAN Signal frame is not used for AM selection; if the first AMBTT is less than the second AMBTT within the predefined time period, determine that the NAN Signal frame is not used for AM selection; and if the NAN Signaling frame does not meet a fourth condition, determine that the NAN Signaling frame is used for AM selection, where the fourth condition is as follows: the first AMR is less than the second AMR within the period preset time, or the first AMR is the same as the third AMR within the preset time period.
[00265] In some embodiments of the present invention, the information update module 703 is additionally configured for: if the NAN Signaling frame is used for AM selection, when the first AMR is greater than the second AMR, update, from according to the NAN Signaling table, the second AM information and the second TSF information that are registered on the device.
[00266] It should be noted that with reference to Figure 7-g, in some embodiments of the present invention, the information update module 703 includes: a first AMR 7031 update sub-module, configured to update the second AMR value for the first AMR value; a first HC 7032 update sub-module, configured to update the value of the second HC to the value of the first HC plus 1; a first AMBTT 7033 update sub-module, configured for: if the NAN Signaling frame is sent by the AM, update the second AMBTT value to a value of a predefined byte / predefined bytes of the first TSF information; or if the NAN Signaling frame is not sent by the AM, update the second AMBTT value to the first AMBTT; and a TSF 7034 update sub-module, configured to update a value of the second TSF information to a value of the first TSF information.
[00267] In some other embodiments of the present invention, the 703 information update module is additionally configured for: if the NAN Signaling frame is used for AM selection, when the first AMR is equal to the second AMR, and the first AMBTT is larger than the second AMBTT, updating, according to the NAN Signaling framework, the second TSF information and some information or all the information of the second AM information that is registered on the device.
[00268] Specifically, the information update module 703 may include: a first HC update sub-module, configured to update the value of the second HC to the value of the first HC plus 1; a first AMBTT update sub-module, configured to: if the NAN Signaling frame is sent by AM, update the second AMBTT value to the value of the predefined byte / predefined bytes of the first TSF information; or if the NAN Signaling frame is not sent by the AM, update the second AMBTT value to the first AMBTT; and a TSF update sub-module, configured to update the value of the second TSF information to the value of the first TSF information.
[00269] In some embodiments of the present invention, the information update module 703 is additionally configured for: if the NAN Signaling frame is used for AM selection, when the first AMR is equal to the second AMR, and when the first AMBTT is equal to the second AMBTT, and the first HC is less than the second HC minus 1, update, according to the NAN Signaling table, the second TSF information and some information or all the information from the second AM information that are registered on the device.
[00270] Specifically, the information update module 703 can include: a first HC update sub-module, configured to update the value of the second HC to the value of the first HC plus 1; and a TSF update sub-module, configured to update the value of the second TSF information to the value of the first TSF information.
[00271] With reference to Figure 7-h, in some embodiments of the present invention, in comparison with the master anchor selection device 700 shown in Figure 7-a, the master anchor selection device 700 may additionally include at least one of the following modules, and Figure 7-h shows an Ignore Frame 710 module, a first update module 711, and a third update module 712 that are included in device 700 for master anchor selection.
[00272] The 710 Signaling frame bypass module is configured for: if the NAN Signaling frame is used for AM selection, when the first AMR is equal to the second AMR, and the first HC is greater than or equal to the second HC, ignore the first AM information carried on the NAN Signal board.
[00273] The first update module 711 is configured for: if the NAN Signal frame is used for AM selection, and the NAN Signal frame is not sent by the AM, when the first AMR is equal to the second AMR, the first HC is equal to the second HC minus 1 and the first AMBTT is greater than the second AMBTT, updating the second AMBTT value to the first AMBTT, and updating the value of the second TSF information to the value of the first TSF information.
[00274] The third update module 712 is configured for: if the NAN Signaling frame is used for AM selection, when the first AMR is equal to the second AMR, and the first HC is less than the second HC minus 1, if the NAN signaling frame is sent by AM, update the second AMBTT value to the value of the predefined byte / predefined bytes of the first TSF information; or if the NAN Signal frame is not sent by AM, update the second AMBTT value to the first AMBTT, update the value of the second TSF information to the value of the first TSF information, and update the value of the second HC to the value of the first HC plus 1.
[00275] With reference to Figure 7-i, in some embodiments of the present invention, in comparison with the master anchor selection device 700 shown in Figure 7-a, the master anchor selection device 700 may additionally include at least one of the modules one to follow, and Figure 7-i shows the ignore frame of Signaling frame 710, the second update module 713, and the third update module 712 that are included in device 700 for master anchor selection.
[00276] The 710 Signaling frame bypass module is configured for: if the NAN Signaling frame is used for AM selection, when the first AMR is equal to the second AMR, and the first HC is greater than or equal to the second HC, ignore the first AM information carried on the NAN Signal board.
[00277] The second update module 713 is configured for: if the NAN Signal frame is used for AM selection, and the NAN Signal frame is sent by an AM, when the first AMR is equal to the second AMR, the first HC is equal to the second HC minus 1 and the value of the default byte / predefined bytes of the first TSF information is greater than the second AMBTT, updating the second AMBTT value to the first AMBTT, and updating the value of the second information of TSF for the value of the first TSF information.
[00278] The third update module 712 is configured for: if the NAN Signaling frame is used for AM selection, when the first AMR is equal to the second AMR, and the first HC is less than the second HC minus 1, if the NAN signaling frame is sent by AM, update the second AMBTT value to the value of the predefined byte / predefined bytes of the first TSF information; or if the NAN Signal frame is not sent by AM, update the second AMBTT value to the first AMBTT, update the value of the second TSF information to the value of the first TSF information, and update the value of the second HC to the value of the first HC plus 1.
[00279] In some embodiments of the present invention, the assignment switch module 702 is additionally configured for: when the difference obtained by subtracting the second AMBTT from the value of the second TSF information is greater than a predefined transmission time threshold, switch the assignment the device to AM.
[00280] In some embodiments of the present invention, when the device is not an AM, and the RM of the device is updated, the assignment switch module 702 is additionally configured for: when an updated MR is greater than the second AMR, switch the device assignment for AM.
[00281] It should be noted that, with reference to Figure 7-j, in some embodiments of the present invention, the assignment switch module 702 includes: a second AMR update sub-module 7021, configured to update the second AMR value for the MR value of the device; a second HC 7022 update sub-module, configured to update the value of the second HC to 0; and a second AMBTT 7023 update sub-module, configured to update the second AMBTT value to a value of one predefined byte / predefined bytes of the second TSF information.
[00282] In some embodiments of the present invention, the master anchor selection device 700 may additionally include: an assignment maintenance module, configured for: when the device RM is updated, maintain an AM assignment, and update the second AMR recorded for an updated device MR value.
[00283] It should be noted that content such as the exchange of information between the modules / units of the aforementioned device and the processes for implementing them is based on the same idea as that of the method modalities of the present invention, and produces the same technical effects as that of the method embodiments of the present invention. For the specific content, refer to the descriptions in the method modality described above, and details are not described in this document again.
[00284] In conclusion, it can be learned, by using the aforementioned description about this modality of the present invention, that after a signaling frame receiving module receives a NAN signaling frame, if the NAN signaling frame is used for AM selection, when a first AMR included in the NAN Signaling frame is less than a second AMR recorded on a device, and a device MR is greater than the first AMR, an assign switch module switches a device assignment to AM ; or if the NAN Signal frame is used for AM selection, when the first AMR included in the NAN Signal frame is less than the second AMR recorded on the device, and a device MR is less than the first AMR, a module information update updates, according to the NAN Signaling table, second AM information and second TSF information that are registered on the device. In a case where the NAN Signaling frame received by the device can be used for AM selection, when the first AMR is less than the second AMR, and the device's MR is greater than the first AMR, the device assignment is switched to AM, and the device whose assignment is switched to AM can overwrite an original AM in a NAN cluster, and therefore an original AMR in the NAN cluster is also overwritten; even if an AM MR becomes smaller, a new AM is selected quickly. Therefore, there is always an AM in the NAN cluster, and each device can record correct AM information, which prevents a malfunction of the entire NAN cluster, and ensures that time synchronization between devices can be implemented. When the device's MR value is insufficient to make the device an AM, that is, when the first AMR is less than the second AMR recorded on the device, and the device's MR is less than the first AMR, the device can update, according to the NAN Signaling table, the second AM information and the second TSF information that are registered on the device, and therefore the second AMR registered on the device is also updated, and the original AMR in the NAN cluster is also updated. is overwritten; even if the MR of the AM becomes smaller, a new AM can be selected quickly. Therefore, there is always an AM in the NAN cluster, and each device can record correct AM information, which prevents a malfunction of the entire NAN cluster and ensures that time synchronization between devices can be implemented.
[00285] This embodiment of the present invention additionally provides a computer storage medium, where the computer storage medium stores a program, and the program performs part of or all of the steps recorded in the aforementioned method modalities.
[00286] Another master anchor selection device provided in this embodiment of the present invention is presented below. Referring to Figure 8, a master anchor selection device 800 includes: at least one receiver 801, at least one processor 802, at least one memory 803, and at least one communication bus 804, where at least one communication bus communication 804 is used to implement connection and mutual communication between these components. (The number of 802 processors in device 800 for master anchor selection can be one or more, and a processor is used as an example in Figure 8). In some embodiments of the present invention, the at least one receiver 801, the at least one processor 802, and the memory 803 can be connected by using the communication bus or other means. An example where the connection is deployed using the communication bus is used in Figure 8.
[00287] The 804 communication bus can be an industry standard architecture bus (Industry Standard Architecture, ISA for short), a bus for peripheral component interconnection (Interconnected Peripheral Component, PCI for short), or a standard architecture bus for extended industry (Extended Industry Standard Architecture, EISA for short), or similar. The 804 bus can be categorized into an address bus, a data bus, a control bus, and the like. To facilitate denotation, the bus is represented using only a thick line in Figure 8; however, this does not indicate that there is only one bus or only one type of bus.
[00288] Memory 803 is configured to store executable program code, where the program code includes an instruction for computer operation. Memory 803 may include high-speed RAM, and may additionally include non-volatile memory (non-volatile memory), for example, at least one magnetic disk memory.
[00289] The 802 processor can be a central processing unit (CPU Central Processing Unit for short), an application specific integrated circuit (Application Specific Integrated Circuit, ASIC for short), or one or more integrated circuits configured to implement this modality of the present invention.
[00290] The 802 processor is configured to execute the executable program code stored in memory 803, such as a computer program, in order to run a program corresponding to the executable code.
[00291] Receiver 801 is configured to receive a neighboring network signaling frame, NAN signaling frame, where the NAN signaling frame carries first AM information and first TSF time synchronization function information, and the first AM information includes: a first AMR master anchor category, a first HC hop count, and a first AMBTT master anchor signal transmission time.
[00292] When executing the executable program code stored in memory 803, the 802 processor can specifically perform the following steps: after the NAN Signal frame is received, if the NAN Signal frame is used for AM selection, when the first AMR is less than a second AMR, and a master MR category of the device is greater than the first AMR, switch a device assignment to AM, where second AM information is recorded on the device, and the second AM information includes : the second AMR, a second HC, and a second AMBTT; and if the NAN Signal frame is used for AM selection, when the first AMR is less than the second AMR, and the MR of the device is less than the first AMR, update, according to the NAN Signal frame, the second AM information and the second TSF information that are registered on the device.
[00293] In some embodiments of the present invention, the 802 processor is additionally configured to perform the following steps: if the NAN Signaling frame is used for AM selection, when the first AMR is less than the second AMR, and the MR of the device is the same as the first AMR, switch the device assignment to AM, or update, by the device, according to the NAN Signaling frame, the second AM information and the second TSF information that are registered on the device.
[00294] In some embodiments of the present invention, before the 803 processor switches the device assignment to AM, or updates, by the device, according to the NAN Signaling frame, the second AM information and the second TSF information that are registered in the device, the 802 processor is additionally configured to perform the following steps: if the first HC is less than or equal to the hop count threshold, trigger the execution of the step of switching the device assignment to AM, or trigger the execution of the update step, according to the NAN Signaling table, the second AM information and the second TSF information that are registered on the device.
[00295] In some embodiments of the present invention, when the device is an AM, the 802 processor determines, in the following ways, whether or not the NAN Signaling frame is used for AM selection: whether the first AMR is less than the second AMR, determine that the NAN Signaling frame is not used for AM selection; if the first AMR is greater than or equal to the second AMR, and if the first AMR is equal to a third AMR within a predefined time period after the start of the second AMR update, determine that the NAN Signaling frame is not used for AM selection, where the third AMR is an AMR before the second AMR on the device is updated; and if the NAN Signaling frame does not meet a first condition, determine that the NAN Signaling frame is used for AM selection, where the first condition is as follows: the first AMR is less than the second AMR, or first AMR is equal to the third AMR within the predefined time period.
[00296] When the device is an AM, in some embodiments of the present invention, the 802 processor can determine, in the following ways, whether or not the NAN Signaling frame is used for AM selection: whether the first AMR is smaller that the second AMR, determine that the NAN Signaling frame is not used for AM selection; if the first AMR is greater than or equal to the second AMR, and if the first AMBTT is less than the second AMBTT within a predefined period of time after the start of the second AMR update, determine that the NAN Signaling frame is not used for AM selection; and if the NAN Signaling frame does not meet a second condition, determine that the NAN Signaling frame is used for AM selection, where the second condition is as follows: the first AMR is less than the second AMR, or the first AMBTT is less than the second AMBTT within the predefined time period.
[00297] When the device is not an AM, in some embodiments of the present invention, the 802 processor can determine, in the following ways, whether or not the NAN Signaling frame is used for AM selection: whether the first AMR is less than the second AMR within a predefined period of time after the start of the second AMR update, determine that the NAN Signal frame is not used for AM selection; if the first AMR is equal to a third AMR within the predefined time period, determine that the NAN Signaling frame is not used for AM selection, where the third AMR is an AMR before the second AMR on the device is updated; and if the NAN Signaling frame does not meet a third condition, determine that the NAN Signaling frame is used for AM selection, where the third condition is as follows: the first AMR is less than the second AMR within the period preset time, or the first AMR is the same as the third AMR within the preset time period.
[00298] When the device is not an AM, in some embodiments of the present invention, the 802 processor can determine, in the following ways, whether or not the NAN Signaling frame is used for AM selection: whether the first AMR is less than the second AMR within a predefined period of time after the start of the second AMR update, determine that the NAN Signal frame is not used for AM selection; if the first AMBTT is less than the second AMBTT within the predefined time period, determine which NAN Signaling frame is not used for AM selection; and if the NAN Signaling frame does not meet a fourth condition, determine that the NAN Signaling frame is used for AM selection, where the fourth condition is as follows: the first AMR is less than the second AMR within the period predefined time, or the first AMBTT is less than the second AMBTT within the predefined time period.
[00299] In some embodiments of the present invention, the 802 processor is additionally configured to perform the following steps: if the NAN Signaling frame is used for AM selection, when the first AMR is greater than the second AMR, update accordingly according to the NAN Signaling table, the second AM information and the second TSF information that are registered on the device.
[00300] In some embodiments of the present invention, updating, by the 802 processor according to the NAN Signaling framework, the second AM information and the second TSF information that are registered on the device includes specifically: updating the second value of AMR for the first AMR value; update the value of the second HC to the value of the first HC plus 1; if the NAN Signaling frame is sent by AM, update the second AMBTT value to a value of a predefined byte / predefined bytes of the first TSF information; or if the NAN Signaling frame is not sent by the AM, update the second AMBTT value to the first AMBTT; and updating a value of the second TSF information to a value of the first TSF information.
[00301] In some embodiments of the present invention, the 802 processor is additionally configured to perform the following steps: if the NAN Signaling frame is used for AM selection, when the first AMR is equal to the second AMR, if the first AMBTT is greater than the second AMBTT, or the first AMBTT is equal to the second AMBTT and the first HC is less than the second HC minus 1, update, according to the NAN Signaling table, the second AM information and the second information TSF numbers that are registered on the device.
[00302] In some embodiments of the present invention, the 802 processor is additionally configured to perform at least one of the following steps: if the NAN Signaling frame is used for AM selection, when the first AMR is equal to the second AMR, and the first HC is greater than or equal to the second HC, ignoring the first AM information carried in the NAN Signaling frame; if the NAN signaling frame is used for AM selection, when the first AMR is equal to the second AMR, the first AMBTT value is not 0, the first HC is equal to the second HC minus 1 and the first AMBTT is greater than the second AMBTT, update the second AMBTT value to the first AMBTT, and update the value of the second TSF information to the value of the first TSF information; if the NAN signaling frame is used for AM selection, and the first AMBTT value is 0, when the first AMR is equal to the second AMR, the first HC is equal to the second HC minus 1 and the default byte value / predefined bytes of the first TSF information is greater than the second AMBTT, updating the second AMBTT value to the first AMBTT, and updating the value of the second TSF information to the value of the first TSF information; and if the NAN Signal frame is used for AM selection, when the first AMR is equal to the second AMR, and the first HC is less than the second HC minus 1, if the NAN Signal frame is sent by the AM, update the second AMBTT value to the default byte / predefined bytes value of the first TSF information; or if the NAN Signal frame is not sent by AM, update the second AMBTT value to the first AMBTT, update the value of the second TSF information to the value of the first TSF information, and update the value of the second HC to the value of the first HC plus 1.
[00303] In some embodiments of the present invention, the 802 processor is additionally configured to perform at least one of the following steps: when a difference obtained by subtracting the second AMBTT from the value of the second TSF information is greater than a predefined transmission time threshold , switch the device assignment to AM.
[00304] In some embodiments of the present invention, when the device is not an AM, and the RM of the device is updated, the 802 processor is additionally configured to perform the following steps: when an updated MR of the device is greater than the second AMR , switch the device assignment to AM.
[00305] In some embodiments of the present invention, switching the device assignment to AM by the 802 processor specifically includes: updating the second AMR value to the first AMR value; update the value of the second HC to 0; and updating the second AMBTT value to the default byte / predefined bytes of the second TSF information.
[00306] In some embodiments of the present invention, when the device is not an AM, the 802 processor is additionally configured to perform the following steps: when the device's MR is updated, maintain an AM assignment, and update the second registered AMR for an updated MR value of the device.
[00307] It can be learned, by using the aforementioned description about this modality of the present invention, that after a device receives a NAN Signaling frame, if the NAN Signaling frame is used for AM selection, when a first AMR included in the NAN Signaling frame is less than a second AMR registered on the device, and a device MR is greater than the first AMR, the device switches an assignment from the device to AM; or if the NAN Signal frame is used for AM selection, when the first AMR included in the NAN Signal frame is less than the second AMR recorded on the device, and an MR of the device is less than the first AMR, the device updates, according to the NAN Signaling table, second AM information and second TSF information that are registered on the device. In a case where the NAN Signaling frame received by the device can be used for AM selection, when the first AMR is less than the second AMR, and the device's MR is greater than the first AMR, the device assignment is switched to AM, and the device whose assignment is switched to AM can overwrite an original AM in a NAN cluster, and therefore an original AMR in the NAN cluster is also overwritten; even if an AM RM becomes smaller, a new AM is selected quickly. Therefore, there is always an AM in the NAN cluster, and each device can record correct AM information, which prevents a malfunction of the entire NAN cluster, and ensures that time synchronization between devices can be implemented. When the device's MR value is insufficient to make the device an AM, that is, when the first AMR is less than the second AMR recorded on the device, and the device's MR is less than the first AMR, the device can update, according to the NAN Signaling table, the second AM information and the second TSF information that are registered on the device, and therefore the second AMR registered on the device is also updated, and the original AMR in the NAN cluster is also updated. is overwritten; even if the MR of the AM becomes smaller, a new AM can be selected quickly. Therefore, there is always an AM in the NAN cluster, and each device can record the correct AM information, which prevents a malfunction of the entire NAN cluster and ensures that time synchronization between devices can be implemented.
[00308] In addition, it should be noted that the described device modality is merely exemplary. Units described as separate parts may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one position, or may be distributed across a plurality of network units. Some or all of the modules can be selected according to actual needs to achieve the objectives of the modalities solutions. In addition, in the attached drawings of the apparatus modalities provided by the present invention, connection relationships between modules indicate that the modules have communication connections with each other, which can be specifically deployed as one or more communication buses or signal cables. A person of ordinary skill in the art can understand and implement the modalities of the present invention without creative efforts.
[00309] Based on the description of the aforementioned ways of implantation, a person skilled in the art can clearly understand that the present invention can be implanted in addition to the necessary universal hardware, or by dedicated hardware, including a dedicated integrated circuit, a dedicated CPU , a dedicated memory, a dedicated component, and the like. In general, any functions that can be performed by a computer program can be easily implemented by using corresponding hardware. In addition, a specific hardware structure used to achieve the same function can be of various forms, for example, in the form of an analog circuit, a digital circuit, a dedicated circuit, or the like. However, as for the present invention, the implementation of a software program is the best way of implementation in most cases. Based on this understanding, the technical solutions of the present invention essentially or as to the part that contributes to the prior art can be deployed in the form of a software product. The software product is stored on a readable storage medium, such as a floppy disk, a USB flash drive, a removable hard drive, a read-only memory (Read-Only Memory, ROM), a random access memory (Memory Random Access, RAM), a magnetic disk, or a computer optical disk, and includes several instructions for instructing a computer device (which can be a personal computer, a server, a network device, and the like) to perform the methods described in the embodiments of the present invention.
[00310] The aforementioned modalities are merely intended to describe the technical solutions of the present invention, but not to limit the present invention. Although the present invention is described in detail with reference to the aforementioned modalities, a person skilled in the art must understand that he can still make modifications to the technical solutions described in the aforementioned modalities or make equivalent substitutions in some technical resources thereof, without departing from the scope of technical solutions of the modalities of the present invention.
权利要求:
Claims (24)
[0001]
1. Method for selecting the AM master anchor, where the method comprises: receiving (101, 301, 401), by a device, a signal from the neighboring identification network, NAN Signaling frame, in which the Signaling frame from NAN carries first AM information and first TSF time synchronization function information, and the first AM information comprises: a first AMR master anchor category, a first HC hop count, and a first anchor signal transmission time master AMBTT; and second AM information and second TSF information are registered in the device, in which the second AM information comprises: a second AMR, a second HC, and a second AMBTT; CHARACTERIZED by the fact of switching (102, 303, 402), by the device, an assignment of the device to an AM when the NAN Signaling frame is used for AM selection, the first AMR is less than the second AMR, and a category device's MR master is larger than the first AMR; and update (103, 304, 403), by the device, the second AM information and the second TSF information according to the NAN Signal frame when the NAN Signal frame is used for AM selection, the first AMR is less than the second AMR, and the device's MR is less than the first AMR.
[0002]
2. Method, according to claim 1, CHARACTERIZED by the fact that switching or updating is performed when the device assignment is not an AM.
[0003]
3. Method, according to claim 1 or 2, CHARACTERIZED by the fact that the update, by the device according to the NAN Signaling frame, of the second AM information and the second TSF information that are registered in the device comprises : update, through the device, the value of the second AMR to match the value of the first AMR; update, by the device, the value of the second HC to match the value of the first HC plus 1; update, by the device, a value of the second TSF information to match a value of the first TSF information; update, by the device, the value of the second AMBTT to match a value of a predefined byte / predefined bytes of the first TSF information when the NAN Signaling frame is received from an AM; and, update, by the device, the value of the second AMBTT to match the value of the first AMBTT when the NAN Signaling frame is received from a non-AM.
[0004]
4. Method, according to claim 1 or 2 or 3, CHARACTERIZED by the fact that the method additionally comprises: updating (306, 307), by the device, the second TSF information and at least part of the second AM information, according to the NAN signaling frame, when the NAN signaling frame is used for AM selection and the first AMR is equal to the second AMR, and the first AMBTT is greater than the second AMBTT
[0005]
5. Method according to any one of claims 1 to 4, CHARACTERIZED by the fact that switching the device assignment to AM by the device comprises: updating, by the device, the value of the second AMR to match the value of MR the device; update, by the device, the value of the second HC to equal 0; and update, by the device, the value of the second AMBTT to equal 0x00000000.
[0006]
6. Method, according to any one of claims 1 to 5, CHARACTERIZED by the fact that when the device assignment is an AM, the method additionally comprises: when the device RM is updated, keep (408), by the device, assigning the device as an AM, and updating the second registered AMR by the device to match an updated MR value of the device.
[0007]
7. Method according to any one of claims 1 to 6, CHARACTERIZED by the fact that the NAN Signaling frame is a synchronization Signaling frame.
[0008]
8. Device (800) for selection of AM master anchor, where the device comprises: a memory (803) that stores instructions; a receiver (801) configured to receive a neighboring network signaling frame, NAN Signaling, where the NAN Signaling frame carries first AM information and first TSF time synchronization function information, and first information AM's include: a first AMR master anchor category, a first HC hop count, and a first AMBTT master anchor signal transmission time; and second AM information and second TSF information are registered in the device, in which the second AM information comprises: a second AMR, a second HC, and a second AMBTT; CHARACTERIZED by the fact that: a processor (802) configured to execute the instructions to perform the operations of: switching a device assignment to an AM when the NAN Signaling frame is used for AM selection, the first AMR is less than the second AMR, and an MR master category of the device is larger than the first AMR; and update the second AM information and the second TSF information according to the NAN Signal frame when the NAN Signal frame is used for AM selection, the first AMR is less than the second AMR, and the device MR is smaller than the first AMR.
[0009]
9. Device, according to claim 8, CHARACTERIZED by the fact that the switching or updating operation is performed when the device assignment is not an AM.
[0010]
10. Device, according to claim 8 or 9, CHARACTERIZED by the fact that the update operation comprises: updating the value of the second AMR to match the value of the first AMR; update the value of the second HC to match the value of the first HC plus 1; update a value of the second TSF information to match a value of the first TSF information; update the value of the second AMBTT to match a value of a predefined byte / predefined bytes of the first TSF information when the NAN Signaling frame is received from an AM; and updating the value of the second AMBTT to match the value of the first AMBTT when the NAN Signaling frame is received from a non-AM.
[0011]
11. Device, according to claim 8 or 9 or 10, CHARACTERIZED by the fact that: the processor (802) is additionally configured to execute the instructions to perform operations to: update the second TSF information and at least part of the second AM information, according to the NAN Signaling frame, when the NAN Signaling frame is used for AM selection, the first AMR is equal to the second AMR, and the first AMBTT is greater than the second AMBTT.
[0012]
12. Device according to any of claims 8 to 11, CHARACTERIZED by the fact that the switching operation comprises: updating, the value of the second AMR to match the MR value of the device; update the value of the second HC to equal 0; and update the value of the second AMBTT to equal 0x00000000.
[0013]
13. Device according to any one of claims 8 to 12, CHARACTERIZED by the fact that: when the device is assigned an AM, the processor (802) is additionally configured to execute the instructions to perform the operations of: when the Device MR is updated, keep the device assignment as an AM, and update the second registered AMR to match an updated device MR value.
[0014]
14. Device according to any one of claims 8 to 13, CHARACTERIZED by the fact that the NAN Signal board is a synchronization Signal board.
[0015]
15. Apparatus, CHARACTERIZED by the fact that the apparatus comprises a processor configured to execute instructions for carrying out operations as defined in any of claims 1 to 7.
[0016]
16. Apparatus according to claim 15, CHARACTERIZED by the fact that the apparatus additionally comprises a memory coupled to the processor, the memory comprising the instructions.
[0017]
17. Device according to claim 15 or 16, CHARACTERIZED by the fact that the device is a dedicated integrated circuit or a dedicated CPU.
[0018]
18. Device (700) for selection of AM master anchor, where the device is CHARACTERIZED by the fact that it comprises: a signaling frame receiving module (701), configured to receive a neighboring network signaling frame, NAN signaling, in which the NAN signaling frame carries first AM information and first TSF time synchronization function information, and the first AM information includes: a first AMR master anchor category, a first HC hop count , and a first transmission time for AMBTT master anchor signaling; and second AM information and second TSF information are registered on the device, in which the second AM information comprises: a second AMR, a second HC, and a second AMBTT; an assignment switch module (702), configured to: perform an operation: switch a device assignment to an AM when the NAN Signaling frame is used for AM selection, the first AMR is less than the second AMR, and a master category, MR, of the device is larger than the first AMR; or an information update module (703), configured to: perform an operation: update the second AM information and the second TSF information according to the NAN Signal frame when the NAN Signal frame is used for selection of AM, the first AMR is less than the second AMR, and the MR of the device is less than the first AMR.
[0019]
19. Device, according to claim 18, CHARACTERIZED by the fact that the switching or updating operation is performed when the device assignment is not an AM.
[0020]
20. Device, according to claim 18 or 19, CHARACTERIZED by the fact that the update operation comprises: updating the value of the second AMR to match the value of the first AMR; update the value of the second HC to match the value of the first HC plus 1; update a value of the second TSF information to match a value of the first TSF information; update the value of the second AMBTT to match a value of a predefined byte / predefined bytes of the first TSF information when the NAN Signaling frame is received from an AM; and updating the value of the second AMBTT to match the value of the first AMBTT when the NAN Signaling frame is received from a non-AM.
[0021]
21. Device, according to claim 18 or 19 or 20, CHARACTERIZED by the fact that the information update module (703) is additionally configured to perform an operation: update the second TSF information and at least part of the second AM information, according to the NAN Signaling frame, when the NAN Signaling frame is used for AM selection, the first AMR is equal to the second AMR, and the first AMBTT is greater than the second AMBTT.
[0022]
22. Device according to any one of claims 18 to 21, CHARACTERIZED by the fact that the switching operation comprises: updating, the value of the second AMR to match the MR value of the device; update the value of the second HC to equal 0; and update the value of the second AMBTT to equal 0x00000000.
[0023]
23. Device according to any one of claims 18 to 22, CHARACTERIZED by the fact that when the device assignment is an AM, the device additionally comprises an assignment maintenance module, configured to perform an operation: when the MR the device is updated, keep the device assignment as an AM, and update the second registered AMR to match an updated device MR value.
[0024]
24. Device according to any one of claims 18 to 23, CHARACTERIZED by the fact that the NAN Signal board is a synchronization Signal board.
类似技术:
公开号 | 公开日 | 专利标题
BR112016012541B1|2020-11-03|method, device, computer program product and computer-readable media for master anchor selection
WO2015196685A1|2015-12-30|Clock synchronization method and apparatus
ES2867123T3|2021-10-20|Anchor and node master node management method
CA3019360C|2020-03-10|Method for sending sync beacon message by nan device, and device
CN109510681A|2019-03-22|A kind of communication system time synchronization the smallest datum node selection method of series
WO2016078383A1|2016-05-26|Registration area determination method and mobility management entity
CN109413697B|2021-12-24|Method and device for configuring movable timer
WO2015096618A1|2015-07-02|Method and network device for converging registration area
US20140295818A1|2014-10-02|Method, Base Station, and Network System for Automatic X2 Configuration Deletion
CN111182612A|2020-05-19|Network access synchronization method and device for nodes in ad hoc network
JP2020108164A|2020-07-09|Anchor master AM management method and node
US20150082103A1|2015-03-19|Methods, systems, and computer readable media for test configuration optimized decoding of protocol messages in a network device test system
CN113037771A|2021-06-25|Method and device for controlling device shadow, storage medium and electronic device
同族专利:
公开号 | 公开日
US20160278086A1|2016-09-22|
CA2932407C|2020-09-22|
CN104053227B|2017-06-27|
EP3442279B1|2020-04-29|
KR101752264B1|2017-06-29|
JP6093098B2|2017-03-08|
JP2016541187A|2016-12-28|
ES2714129T3|2019-05-27|
RU2622406C1|2017-06-15|
EP3079416A4|2016-12-14|
ES2811348T3|2021-03-11|
JP2017108438A|2017-06-15|
ZA201603867B|2019-04-24|
SG10201704617TA|2017-07-28|
SG11201604435QA|2016-07-28|
AU2014359941A1|2016-06-30|
US10178669B2|2019-01-08|
AU2014359941C1|2017-11-09|
CN104053227A|2014-09-17|
KR20170015560A|2017-02-08|
JP6346970B2|2018-06-20|
WO2015081852A1|2015-06-11|
KR20160089521A|2016-07-27|
KR101703791B1|2017-02-07|
CN107182121A|2017-09-19|
AU2014359941B2|2017-04-06|
EP3079416A1|2016-10-12|
EP3079416B1|2018-11-28|
CA2932407A1|2015-06-11|
CN107182121B|2020-08-07|
EP3442279A1|2019-02-13|
US20170223704A1|2017-08-03|
US9642136B2|2017-05-02|
引用文献:
公开号 | 申请日 | 公开日 | 申请人 | 专利标题

JP3865223B2|2002-03-14|2007-01-10|株式会社Kddi研究所|Wireless network time synchronization method|
US7835301B1|2005-04-15|2010-11-16|Nvidia Corporation|Extended service set mesh topology representation|
US7606175B1|2005-04-15|2009-10-20|Nvidia Corporation|Extended service set mesh path selection|
US7502354B1|2005-04-15|2009-03-10|Nvidia Corporation|Mesh networking using point coordination function|
US7522540B1|2005-04-15|2009-04-21|Nvidia Corporation|Extended service set mesh topology discovery|
WO2009018212A1|2007-07-30|2009-02-05|Innovative Wireless Technologies, Inc.|Distributed ad hoc network protocol using synchronous shared beacon signaling|
JP2009284054A|2008-05-20|2009-12-03|Mitsubishi Electric Corp|Communication system, radio station, router, and time synchronizing method|
US8498230B2|2009-03-03|2013-07-30|Nokia Corporation|Power management in wireless communication systems|
CN103369550B|2012-03-26|2016-08-10|华为技术有限公司|A kind of targeted sites, inquiry website, communication system and the means of communication|
EP2853104B1|2012-05-23|2018-01-10|Nec Corporation|Method and system for supporting the discovery of synchronized clusters of mobile stations in a wireless communication network|
CN102946634B|2012-10-26|2016-06-08|东莞宇龙通信科技有限公司|Communicator and data communications method|
US20140192793A1|2013-01-04|2014-07-10|Qualcomm Incorporated|Systems and methods for hierarchical time source usage in near-me area network discovery and synchronization|
US9226231B2|2013-01-30|2015-12-29|Qualcomm Incorporated|Systems and methods for monitoring the size of a wireless network|
CN103209461B|2013-02-26|2017-04-05|无锡清华信息科学与技术国家实验室物联网技术中心|Cycle neighbor discovering method asymmetric low on duty by turns based on collaboration prime number|
US9516595B2|2013-03-27|2016-12-06|Qualcomm Incorporated|Systems and methods for synchronization within a neighborhood aware network|
US9204244B2|2013-04-08|2015-12-01|Nokia Technologies Oy|Method, apparatus, and computer program product for synchronization packet transmitter selection in a wireless network|
US20140321317A1|2013-04-26|2014-10-30|Nokia Corporation|Method, apparatus, and computer program product for network type determination|
US9432925B2|2013-08-05|2016-08-30|Nokia Technologies Oy|Method, apparatus, and computer program product for hop count usage in cluster selection|
KR101785672B1|2013-11-06|2017-10-16|엘지전자 주식회사|Method and apparatus for nan terminal to transceive signal in wireless communication system|
CN104053227B|2013-12-02|2017-06-27|华为终端有限公司|A kind of method and apparatus for anchor main equipment selection|US9906937B2|2013-11-15|2018-02-27|Lg Electronics Inc.|Method and apparatus for changing state of nan terminal in wireless communication system|
CN104053227B|2013-12-02|2017-06-27|华为终端有限公司|A kind of method and apparatus for anchor main equipment selection|
WO2015119454A1|2014-02-07|2015-08-13|엘지전자 주식회사|Method and device for shifting state of nan terminal in wireless communication system|
US10863431B2|2014-11-06|2020-12-08|Qualcomm Incorporated|Systems and methods for synchronization within a neighborhood aware network|
KR102251326B1|2014-11-25|2021-05-12|삼성전자주식회사|Method for organizing proximity network and an electronic device thereof|
KR102251353B1|2014-11-25|2021-05-12|삼성전자주식회사|Method for organizing proximity network and an electronic device thereof|
WO2016131193A1|2015-02-17|2016-08-25|华为技术有限公司|Service discovery method and device in neighbor awareness network|
WO2016148354A1|2015-03-18|2016-09-22|엘지전자 주식회사|Method and device for setting awake period of discovery window in wireless communication system|
US10178635B1|2015-06-23|2019-01-08|Marvell International Ltd.|Method and apparatus for preventing cluster fragmentation in a neighbor awareness networkingsystem|
US10149313B2|2015-07-22|2018-12-04|Intel IP Corporation|Apparatus, system and method of communicating in a neighbor awareness networkingcluster|
ES2867123T3|2015-08-18|2021-10-20|Huawei Tech Co Ltd|Anchor and node master node management method|
CN105635281B|2015-12-29|2019-09-17|Tcl集团股份有限公司|A kind of information push method for target area, device and system|
JP6659147B2|2016-01-19|2020-03-04|キヤノン株式会社|Communication device, communication method, and program|
EP3429283A4|2016-03-28|2019-03-06|Huawei Technologies Co., Ltd.|Method and device for nan device to send sync beacon message|
US10298461B2|2016-05-10|2019-05-21|Motorola Mobility Llc|System and method for determining a master device in a neighborhood aware network|
US10039096B2|2016-05-31|2018-07-31|Futurewei Technologies, Inc.|System and method for protecting time slots|
CN107147464B|2017-05-11|2020-09-29|中国矿业大学|Time synchronization method of distributed mine earthquake monitoring system|
JP6740202B2|2017-11-22|2020-08-12|株式会社三共|Amusement machine|
法律状态:
2019-06-04| B25D| Requested change of name of applicant approved|Owner name: HUAWEI DEVICE (SHENZHEN) CO., LTD. (CN) |
2019-09-10| B06A| Patent application procedure suspended [chapter 6.1 patent gazette]|
2019-09-10| B15K| Others concerning applications: alteration of classification|Free format text: A CLASSIFICACAO ANTERIOR ERA: H04W 56/00 Ipc: H04W 56/00 (2009.01), H04W 72/04 (2009.01), H04W 8 |
2019-12-31| B06A| Patent application procedure suspended [chapter 6.1 patent gazette]|
2020-04-28| B09A| Decision: intention to grant [chapter 9.1 patent gazette]|
2020-11-03| B16A| Patent or certificate of addition of invention granted [chapter 16.1 patent gazette]|Free format text: PRAZO DE VALIDADE: 20 (VINTE) ANOS CONTADOS A PARTIR DE 02/12/2014, OBSERVADAS AS CONDICOES LEGAIS. |
优先权:
申请号 | 申请日 | 专利标题
CN201310634605.1|2013-12-02|
CN201310634605|2013-12-02|
CN201410301914.1A|CN104053227B|2013-12-02|2014-06-27|A kind of method and apparatus for anchor main equipment selection|
CN201410301914.1|2014-06-27|
PCT/CN2014/092816|WO2015081852A1|2013-12-02|2014-12-02|Method and device for selecting anchor master|
[返回顶部]